#[repr(i32)]pub enum Signal {
INACTIVE = 0,
TRIGGER(Kinds),
}
Expand description
Enum representing different types of signals that can be used to control the taskchain.
INACTIVE
: This signal indicates that no task should proceed.TRIGGER(Kinds)
: This signal triggers the taskchain, allowing tasks of the specifiedKinds
to proceed.
Variants§
Trait Implementations§
impl Copy for Signal
impl StructuralPartialEq for Signal
Auto Trait Implementations§
impl Freeze for Signal
impl RefUnwindSafe for Signal
impl Send for Signal
impl Sync for Signal
impl Unpin for Signal
impl UnwindSafe for Signal
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