pub enum Holding {
Owner,
OwnerUntil(DateTime<Utc>),
HandedTo(DateTime<Utc>),
HandedFrom(DateTime<Utc>),
Released(DateTime<Utc>),
}Expand description
The record through which an actor held a task at or before some time.
Variants§
Owner
Owned it then, and owns it now or until no later handoff.
OwnerUntil(DateTime<Utc>)
Owned it then and handed it on at this later time.
HandedTo(DateTime<Utc>)
Received it by the handoff at this time.
HandedFrom(DateTime<Utc>)
Gave it away by the handoff at this time.
Released(DateTime<Utc>)
Gave back a claim on it at this time.
Trait Implementations§
impl Copy for Holding
impl Eq for Holding
impl StructuralPartialEq for Holding
Auto Trait Implementations§
impl Freeze for Holding
impl RefUnwindSafe for Holding
impl Send for Holding
impl Sync for Holding
impl Unpin for Holding
impl UnsafeUnpin for Holding
impl UnwindSafe for Holding
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