pub struct ScheduleManager { /* private fields */ }Implementations§
Trait Implementations§
Source§impl Actor for ScheduleManager
impl Actor for ScheduleManager
Source§type Context = Context<ScheduleManager>
type Context = Context<ScheduleManager>
Actor execution context type
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<FactoryEvent> for ScheduleManager
impl Handler<FactoryEvent> for ScheduleManager
Source§impl Handler<MetricsQuery> for ScheduleManager
impl Handler<MetricsQuery> for ScheduleManager
Source§impl Handler<ScheduleManagerReq> for ScheduleManager
impl Handler<ScheduleManagerReq> for ScheduleManager
Source§impl Handler<VoteChangeRequest> for ScheduleManager
impl Handler<VoteChangeRequest> for ScheduleManager
Source§impl Inject for ScheduleManager
impl Inject for ScheduleManager
type Context = Context<ScheduleManager>
fn inject( &mut self, factory_data: FactoryData, _factory: BeanFactory, _ctx: &mut Self::Context, )
fn complete(&mut self, ctx: &mut Self::Context)
Auto Trait Implementations§
impl Freeze for ScheduleManager
impl !RefUnwindSafe for ScheduleManager
impl Send for ScheduleManager
impl Sync for ScheduleManager
impl Unpin for ScheduleManager
impl !UnwindSafe for ScheduleManager
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request