Struct ocypod::actors::application::ApplicationActor
source · pub struct ApplicationActor { /* private fields */ }
Expand description
Main actor that exposes job queue functionality.
Most HTTP request handlers will construct messages and send to this actor to create queues/jobs, get jobs, etc.
Implementations
Trait Implementations
sourceimpl Actor for ApplicationActor
impl Actor for ApplicationActor
type Context = SyncContext<ApplicationActor>
type Context = SyncContext<ApplicationActor>
Actor execution context type
sourcefn started(&mut self, _ctx: &mut Self::Context)
fn started(&mut self, _ctx: &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 moresourceimpl Handler<CheckDbIntegrity> for ApplicationActor
impl Handler<CheckDbIntegrity> for ApplicationActor
sourceimpl Handler<CheckHealth> for ApplicationActor
impl Handler<CheckHealth> for ApplicationActor
sourceimpl Handler<CheckJobExpiry> for ApplicationActor
impl Handler<CheckJobExpiry> for ApplicationActor
sourceimpl Handler<CheckJobRetries> for ApplicationActor
impl Handler<CheckJobRetries> for ApplicationActor
sourceimpl Handler<CheckJobTimeouts> for ApplicationActor
impl Handler<CheckJobTimeouts> for ApplicationActor
sourceimpl Handler<CreateJob> for ApplicationActor
impl Handler<CreateJob> for ApplicationActor
sourceimpl Handler<CreateOrUpdateQueue> for ApplicationActor
impl Handler<CreateOrUpdateQueue> for ApplicationActor
sourceimpl Handler<DeleteJob> for ApplicationActor
impl Handler<DeleteJob> for ApplicationActor
sourceimpl Handler<DeleteQueue> for ApplicationActor
impl Handler<DeleteQueue> for ApplicationActor
sourceimpl Handler<GetInfo> for ApplicationActor
impl Handler<GetInfo> for ApplicationActor
sourceimpl Handler<GetJobFields> for ApplicationActor
impl Handler<GetJobFields> for ApplicationActor
sourceimpl Handler<GetJobOutput> for ApplicationActor
impl Handler<GetJobOutput> for ApplicationActor
sourceimpl Handler<GetJobStatus> for ApplicationActor
impl Handler<GetJobStatus> for ApplicationActor
sourceimpl Handler<GetQueueNames> for ApplicationActor
impl Handler<GetQueueNames> for ApplicationActor
sourceimpl Handler<GetQueueSettings> for ApplicationActor
impl Handler<GetQueueSettings> for ApplicationActor
sourceimpl Handler<GetTaggedJobs> for ApplicationActor
impl Handler<GetTaggedJobs> for ApplicationActor
sourceimpl Handler<Heartbeat> for ApplicationActor
impl Handler<Heartbeat> for ApplicationActor
sourceimpl Handler<NextJob> for ApplicationActor
impl Handler<NextJob> for ApplicationActor
sourceimpl Handler<SetJobOutput> for ApplicationActor
impl Handler<SetJobOutput> for ApplicationActor
Auto Trait Implementations
impl !RefUnwindSafe for ApplicationActor
impl Send for ApplicationActor
impl !Sync for ApplicationActor
impl Unpin for ApplicationActor
impl UnwindSafe for ApplicationActor
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