actix::dev

Trait AsyncContextParts

Source
pub trait AsyncContextParts<A>: ActorContext + AsyncContext<A>
where A: Actor<Context = Self>,
{ // Required method fn parts(&mut self) -> &mut ContextParts<A>; }

Required Methods§

Source

fn parts(&mut self) -> &mut ContextParts<A>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<A> AsyncContextParts<A> for Context<A>
where A: Actor<Context = Self>,