[][src]Struct actix_web::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>, 
[src]

pub fn new(ctx: C, act: A, mailbox: Mailbox<A>) -> ContextFut<A, C>[src]

pub fn ctx(&mut self) -> &mut C[src]

pub fn address(&self) -> Addr<A>[src]

pub fn alive(&mut self) -> bool[src]

Trait Implementations

impl<A, C> Debug for ContextFut<A, C> where
    A: Actor<Context = C>,
    C: AsyncContextParts<A>, 
[src]

Auto Trait Implementations

impl<A, C> !Send for ContextFut<A, C>

impl<A, C> !Sync for ContextFut<A, C>

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<F> IntoFuture for F where
    F: Future
[src]

type Future = F

The future that this type can be converted into.

type Item = <F as Future>::Item

The item that the future may resolve with.

type Error = <F as Future>::Error

The error that the future may resolve with.

impl<T> Erased for T

impl<T> FutureExt for T where
    T: Future + ?Sized
[src]

fn timeout(self, timeout: Duration) -> Timeout<Self>[src]

Creates a new future which allows self until timeout. Read more

impl<F, A> WrapFuture for F where
    A: Actor,
    F: Future
[src]

type Future = FutureWrap<F, A>

The future that this type can be converted into.

type Item = <F as Future>::Item

The item that the future may resolve with.

type Error = <F as Future>::Error

The error that the future may resolve with.