pub enum LeaseEventKind {
Acquire,
Heartbeat,
Expire,
Release,
}Expand description
Lease event kinds used by typed causality errors.
Variants§
Acquire
Lease acquired event.
Heartbeat
Lease heartbeat event.
Expire
Lease expired event.
Release
Lease released event.
Trait Implementations§
Source§impl Clone for LeaseEventKind
impl Clone for LeaseEventKind
Source§fn clone(&self) -> LeaseEventKind
fn clone(&self) -> LeaseEventKind
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LeaseEventKind
impl Debug for LeaseEventKind
Source§impl Display for LeaseEventKind
impl Display for LeaseEventKind
Source§impl PartialEq for LeaseEventKind
impl PartialEq for LeaseEventKind
impl Copy for LeaseEventKind
impl Eq for LeaseEventKind
impl StructuralPartialEq for LeaseEventKind
Auto Trait Implementations§
impl Freeze for LeaseEventKind
impl RefUnwindSafe for LeaseEventKind
impl Send for LeaseEventKind
impl Sync for LeaseEventKind
impl Unpin for LeaseEventKind
impl UnsafeUnpin for LeaseEventKind
impl UnwindSafe for LeaseEventKind
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