Struct actix_web::actix::actix::dev::ContextFut [−]
pub struct ContextFut<A, C> where
A: Actor<Context = C>,
C: AsyncContextParts<A>, { /* fields omitted */ }
Methods
impl<A, C> ContextFut<A, C> where
A: Actor<Context = C>,
C: AsyncContextParts<A>,
impl<A, C> ContextFut<A, C> where
A: Actor<Context = C>,
C: AsyncContextParts<A>,
pub fn new(ctx: C, act: A, mailbox: Mailbox<A>) -> ContextFut<A, C>
pub fn new(ctx: C, act: A, mailbox: Mailbox<A>) -> ContextFut<A, C>
ⓘImportant traits for &'a mut Rpub fn ctx(&mut self) -> &mut C
ⓘImportant traits for &'a mut R
pub fn ctx(&mut self) -> &mut C
pub fn address(&self) -> Addr<A>
pub fn address(&self) -> Addr<A>
pub fn alive(&mut self) -> bool
pub fn alive(&mut self) -> bool
Auto Trait Implementations
impl<A, C> !Send for ContextFut<A, C>
impl<A, C> !Send for ContextFut<A, C>
impl<A, C> !Sync for ContextFut<A, C>
impl<A, C> !Sync for ContextFut<A, C>