Trait anterofit::UnsizeService [−][src]
pub trait UnsizeService { fn from_adapter<A>(adpt: Arc<A>) -> Arc<Self>
where
A: AbsAdapter; }
Unsizeable service trait. Used with Adapter::arc_service()
.
Use unsizeable!()
to create an impl of this trait for your service trait.
Mutually exclusive with delegate service impls for the foreseeable future.
Required Methods
fn from_adapter<A>(adpt: Arc<A>) -> Arc<Self> where
A: AbsAdapter,
A: AbsAdapter,
Unsize the given Arc<A: AbsAdapter>
to the service trait object.