pub enum LockTransition {
Acquired(LockLease),
Renewed(LockLease),
Released {
lock_id: NetId64,
key: LockKey,
owner: LockOwner,
state_revision: u64,
},
}Expand description
One successful current-state change.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for LockTransition
impl Clone for LockTransition
Source§impl Debug for LockTransition
impl Debug for LockTransition
impl Eq for LockTransition
Source§impl PartialEq for LockTransition
impl PartialEq for LockTransition
impl StructuralPartialEq for LockTransition
Auto Trait Implementations§
impl !Freeze for LockTransition
impl RefUnwindSafe for LockTransition
impl Send for LockTransition
impl Sync for LockTransition
impl Unpin for LockTransition
impl UnsafeUnpin for LockTransition
impl UnwindSafe for LockTransition
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