pub enum Role {
Opens,
Continues,
Closes,
}Expand description
Where an event sits in the life of the thing it belongs to.
Variants§
Opens
Opens a group: scheduled, initiated, started-by-us.
Continues
Neither opens nor closes, a worker picked the task up, a cancel was requested.
Closes
Closes a group: completed, failed, timed out, cancelled.
Trait Implementations§
impl Copy for Role
impl Eq for Role
impl StructuralPartialEq for Role
Auto Trait Implementations§
impl Freeze for Role
impl RefUnwindSafe for Role
impl Send for Role
impl Sync for Role
impl Unpin for Role
impl UnsafeUnpin for Role
impl UnwindSafe for Role
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