pub enum SpawnerMsg {
Execute(String),
Cancel(String),
}
Expand description
Different types of message that can be received by the Spawner
Variants§
Execute(String)
Execute contains the workflow ID to be executed
Cancel(String)
Cancel contains the job ID which needs to be cancelled
Auto Trait Implementations§
impl Freeze for SpawnerMsg
impl RefUnwindSafe for SpawnerMsg
impl Send for SpawnerMsg
impl Sync for SpawnerMsg
impl Unpin for SpawnerMsg
impl UnwindSafe for SpawnerMsg
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