Search code examples
How to handle BufReader<File> and BufReader<Stdin> without dynamic dispatch?...

rustiostdintrait-objectsmonomorphism

Read More
Is there any way to use Associated Function of a trait in Rust?...

rusttrait-objects

Read More
Why are trait objects usually used via references (&dyn Trait) or smart Pointers (like Box<dy...

rusttraitstype-traitstrait-objects

Read More
What does Rust error "you could box the found value and coerce it to the trait object" mea...

rustcoerciontrait-objects

Read More
Why can't trait methods have a default implementation returning self as a trait object...

rusttrait-objects

Read More
Return Result<Box<dyn Trait>> in a match...

rusttrait-objects

Read More
Why doesn't Rust support trait objects with associated constants?...

rusttrait-objectsassociated-const

Read More
How do you select a struct based on a string in Rust?...

stringrusttrait-objectsdynamic-dispatch

Read More
Understanding Rust's Trait Objects and Lifetime Annotations in Different Function Signatures...

rustlifetimetrait-objects

Read More
How to return a generic struct from a function where (only) <T> is different...

genericsrustpolymorphismtraitstrait-objects

Read More
How to add lifetime Parameter to Box<> with dyn type alias...

rustlifetimetrait-objects

Read More
impl trait with move method for trait object of same trait...

rusttraitsownershiptrait-objects

Read More
How do I fix "cannot be sent between threads safely" when using tokio::spawn and Box<dy...

rustthread-safetyrust-tokiotrait-objects

Read More
How to unit test two implementations of a trait?...

unit-testingrusttraitstrait-objects

Read More
Problem with returning generic type from function...

genericsrustdowncasttrait-objects

Read More
What makes something a "trait object"?...

rusttraitstrait-objects

Read More
Blanket `impl Trait1` for all types which `impl Trait2` and functions which return `impl Trait2`...

rusttraitstrait-objects

Read More
Store function returning impl Trait as trait object...

functionrusttrait-objects

Read More
The lifetime of trait object pointer...

pointersrustlifetimetrait-objects

Read More
Is there a way to implement trait objects with generic functions?...

rustvisitor-patterntrait-objects

Read More
How to cast Vec<Box<dyn SomeTrait + Send + Sync>> to Vec<Box<dyn SomeTrait + Sync&...

rustcastingtrait-objects

Read More
Why can a function on a trait object not be called when bounded with `Self: Sized`?...

rusttraitstrait-objects

Read More
Storing an iterator over borrowed refs inside a Struct...

rustiteratorlifetimetrait-objects

Read More
Why can't I clone a `Vec` of cloneable constructors?...

rustclonelifetimetrait-objects

Read More
What happens when I pass a concrete struct reference to a function that takes trait objects?...

rusttraitstrait-objects

Read More
Trait objects force higher-ranked trait bounds, which break nested closures...

rustclosurestrait-objects

Read More
Trait object as associated type of a trait object...

rustassociated-typestrait-objectsdynamic-dispatch

Read More
Clone custom structs of concrete type as trait objects...

rustwrappertrait-objects

Read More
Cannot relax lifetime of Trait Object...

rustrust-tokiotrait-objects

Read More
What exactly is the requirement for "covering" a type & why does a single element tupl...

rustcompiler-errorstrait-objects

Read More
BackNext