pub enum TaskOutcome {
Updated(Box<Task>, Option<TaskClaim>),
Lost(TaskLost),
}Expand description
13a (13.1): what Mnemo::task_update did.
Variants§
Updated(Box<Task>, Option<TaskClaim>)
Changed (or a note added). For the owner, the claim it now holds:
renewed, or taken again after a lapse; None when the change
released it (ready, done, queued) or wasn’t the owner’s.
Lost(TaskLost)
Nothing changed: don’t carry on with it.
Trait Implementations§
Source§impl Clone for TaskOutcome
impl Clone for TaskOutcome
Source§impl Debug for TaskOutcome
impl Debug for TaskOutcome
Source§impl PartialEq for TaskOutcome
impl PartialEq for TaskOutcome
impl StructuralPartialEq for TaskOutcome
Auto Trait Implementations§
impl Forget for TaskOutcome
impl Freeze for TaskOutcome
impl Move for TaskOutcome
impl RefUnwindSafe for TaskOutcome
impl Send for TaskOutcome
impl Sync for TaskOutcome
impl Unpin for TaskOutcome
impl UnsafeUnpin for TaskOutcome
impl UnwindSafe for TaskOutcome
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