pub struct RunHookMsg {
pub job_id: String,
pub before: bool,
}Fields§
§job_id: String§before: boolTrait Implementations§
Source§impl Message<RunHookMsg> for PluginCenter
impl Message<RunHookMsg> for PluginCenter
Source§async fn handle(
&mut self,
msg: RunHookMsg,
_ctx: Context<'_, PluginCenter, <PluginCenter as Message<RunHookMsg>>::Reply>,
) -> <PluginCenter as Message<RunHookMsg>>::Reply
async fn handle( &mut self, msg: RunHookMsg, _ctx: Context<'_, PluginCenter, <PluginCenter as Message<RunHookMsg>>::Reply>, ) -> <PluginCenter as Message<RunHookMsg>>::Reply
Handler for this message.
Auto Trait Implementations§
impl Freeze for RunHookMsg
impl RefUnwindSafe for RunHookMsg
impl Send for RunHookMsg
impl Sync for RunHookMsg
impl Unpin for RunHookMsg
impl UnwindSafe for RunHookMsg
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<A, T> DynMessage<A> for T
impl<A, T> DynMessage<A> for T
Source§fn handle_dyn(
self: Box<T>,
state: &mut A,
actor_ref: ActorRef<A>,
tx: Option<Sender<Result<Box<dyn Any + Send>, SendError<Box<dyn Any + Send>, Box<dyn Any + Send>>>>>,
) -> Pin<Box<dyn Future<Output = Option<Box<dyn Debug + Send>>> + Send + '_>>
fn handle_dyn( self: Box<T>, state: &mut A, actor_ref: ActorRef<A>, tx: Option<Sender<Result<Box<dyn Any + Send>, SendError<Box<dyn Any + Send>, Box<dyn Any + Send>>>>>, ) -> Pin<Box<dyn Future<Output = Option<Box<dyn Debug + Send>>> + Send + '_>>
Handles the dyn message with the provided actor state, ref, and reply sender.
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 more