[][src]Struct improv::Context

pub struct Context<A: Actor> { /* fields omitted */ }

Implementations

impl<A: Actor> Context<A>[src]

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

pub fn notify_after<M: Message<Response = ()>>(
    &self,
    duration: Duration,
    msg_factory: impl FnOnce() -> M + Send + 'static
) where
    A: Receive<M>, 
[src]

pub fn notify_periodic<M: Message<Response = ()>>(
    &self,
    duration: Duration,
    msg_factory: impl FnOnce() -> M + Clone + Send + 'static
) where
    A: Receive<M>, 
[src]

pub fn stop(&mut self)[src]

Auto Trait Implementations

impl<A> !RefUnwindSafe for Context<A>

impl<A> Send for Context<A>

impl<A> Sync for Context<A>

impl<A> Unpin for Context<A>

impl<A> !UnwindSafe for Context<A>

Blanket Implementations

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

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

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

impl<T> From<T> for T[src]

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

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

The type returned in the event of a conversion error.