Struct background_jobs_actix::Server
source · Implementations
Trait Implementations
sourceimpl<W> Actor for Server<W>where
W: Actor + Handler<ProcessJob>,
impl<W> Actor for Server<W>where
W: Actor + Handler<ProcessJob>,
type Context = SyncContext<Server<W>>
type Context = SyncContext<Server<W>>
Actor execution context type
sourcefn started(&mut self, _: &mut Self::Context)
fn started(&mut self, _: &mut Self::Context)
Method is called when actor get polled first time.
sourcefn stopping(&mut self, ctx: &mut Self::Context) -> Running
fn stopping(&mut self, ctx: &mut Self::Context) -> Running
Method is called after an actor is in
Actor::Stopping
state. There
could be several reasons for stopping. Context::stop
get called
by the actor itself. All addresses to current actor get dropped and
no more evented objects left in the context. Read moreAuto Trait Implementations
impl<W> !RefUnwindSafe for Server<W>
impl<W> Send for Server<W>
impl<W> Sync for Server<W>
impl<W> Unpin for Server<W>
impl<W> !UnwindSafe for Server<W>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more