pub struct Delayer { /* private fields */ }Expand description
This is a delay actor.
Implementations§
Trait Implementations§
Source§impl Actor for Delayer
impl Actor for Delayer
Source§fn started(&mut self, ctx: &mut Self::Context)
fn started(&mut self, ctx: &mut Self::Context)
Called when an actor gets polled the first time.
Source§fn stopping(&mut self, ctx: &mut Self::Context) -> Running
fn stopping(&mut self, ctx: &mut Self::Context) -> Running
Called after an actor is in
Actor::Stopping state. Read moreSource§fn start_in_arbiter<F>(wrk: &ArbiterHandle, f: F) -> Addr<Self>
fn start_in_arbiter<F>(wrk: &ArbiterHandle, f: F) -> Addr<Self>
Start new actor in arbiter’s thread.
Source§impl Handler<StopRequest> for Delayer
impl Handler<StopRequest> for Delayer
Auto Trait Implementations§
impl Freeze for Delayer
impl !RefUnwindSafe for Delayer
impl Send for Delayer
impl Sync for Delayer
impl Unpin for Delayer
impl !UnwindSafe for Delayer
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more