[−][src]Struct actix_web::actix::dev::ContextFut
Methods
impl<A, C> ContextFut<A, C> where
A: Actor<Context = C>,
C: AsyncContextParts<A>,
[src]
A: Actor<Context = C>,
C: AsyncContextParts<A>,
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]
A: Actor<Context = C>,
C: AsyncContextParts<A>,
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]
U: From<T>,
impl<T> From for T
[src]
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<F> IntoFuture for F where
F: Future,
[src]
F: Future,
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.
fn into_future(self) -> F
[src]
impl<T> Erased for T
impl<T> FutureExt for T where
T: Future + ?Sized,
[src]
T: Future + ?Sized,
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]
A: Actor,
F: Future,
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.