[−][src]Struct improv::Context
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]
&self,
duration: Duration,
msg_factory: impl FnOnce() -> M + Send + 'static
) where
A: Receive<M>,
pub fn notify_periodic<M: Message<Response = ()>>(
&self,
duration: Duration,
msg_factory: impl FnOnce() -> M + Clone + Send + 'static
) where
A: Receive<M>,
[src]
&self,
duration: Duration,
msg_factory: impl FnOnce() -> M + Clone + Send + 'static
) where
A: Receive<M>,
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]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> 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, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,