pub enum Decision {
Proceed,
Wait {
reason: String,
thread_id: String,
},
Blocked {
reason: String,
thread_id: String,
},
}Expand description
The coordinator’s decision for a proposed event.
Variants§
Proceed
Event is allowed to proceed.
Wait
Event should wait (prerequisite not yet satisfied).
Blocked
Event is blocked (unconditional or resource conflict).
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Decision
impl RefUnwindSafe for Decision
impl Send for Decision
impl Sync for Decision
impl Unpin for Decision
impl UnsafeUnpin for Decision
impl UnwindSafe for Decision
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