pub enum Wake {
Now {
tasks: usize,
messages: usize,
},
Nothing,
Held(&'static str),
}Expand description
13a (13.1b): what Mnemo::wake decided.
Variants§
Now
Wake the agent for these, now marked delivered: how many
pre-approved tasks and messages addressed to it by id.
Nothing
Nothing that may wake it.
Held(&'static str)
Something waits, but a guardrail holds it (its items stay sent,
and are seen at the next turn or session start).
Trait Implementations§
impl Eq for Wake
impl StructuralPartialEq for Wake
Auto Trait Implementations§
impl Forget for Wake
impl Freeze for Wake
impl Move for Wake
impl RefUnwindSafe for Wake
impl Send for Wake
impl Sync for Wake
impl Unpin for Wake
impl UnsafeUnpin for Wake
impl UnwindSafe for Wake
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