[−][src]Trait intertrait::CastFromSync
CastFromSync
must be extended by a trait that is Any + Sync + Send + 'static
and wants to allow for casting into another trait behind references and smart pointers
especially including Arc
.
It is used for obtaining a trait object for [Any + Sync + Send + 'static
] from an object
for its sub-trait, and blanket implemented for all Sized + Sync + Send + 'static
types.
Examples
ⓘThis example is not tested
trait Source: CastFromSync { ... }