Struct actix_daemon_utils::looper::Looper [−][src]
pub struct Looper { /* fields omitted */ }Expand description
This is a loop actor.
Implementations
Trait Implementations
Called after an actor is in Actor::Stopping state. Read more
Start a new asynchronous actor, returning its address. Read more
Construct and start a new asynchronous actor, returning its address. Read more
fn start_in_arbiter<F>(wrk: &ArbiterHandle, f: F) -> Addr<Self> where
Self: Actor<Context = Context<Self>>,
F: FnOnce(&mut Context<Self>) -> Self + Send + 'static,
fn start_in_arbiter<F>(wrk: &ArbiterHandle, f: F) -> Addr<Self> where
Self: Actor<Context = Context<Self>>,
F: FnOnce(&mut Context<Self>) -> Self + Send + 'static, Start new actor in arbiter’s thread.
type Result = <StopRequest as Message>::Result
type Result = <StopRequest as Message>::ResultThe type of value that this handler will return. Read more
This method is called for every message received by this actor.
Auto Trait Implementations
impl !RefUnwindSafe for Looperimpl !UnwindSafe for Looper