pub enum LeaseValidationEvent {
Acquire,
Heartbeat,
Expire,
Release,
}Expand description
Lease lifecycle event kind used by typed validation errors.
Variants§
Acquire
Lease acquire command validation.
Heartbeat
Lease heartbeat command validation.
Expire
Lease expire command validation.
Release
Lease release command validation.
Trait Implementations§
Source§impl Clone for LeaseValidationEvent
impl Clone for LeaseValidationEvent
Source§fn clone(&self) -> LeaseValidationEvent
fn clone(&self) -> LeaseValidationEvent
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 LeaseValidationEvent
impl Debug for LeaseValidationEvent
Source§impl Display for LeaseValidationEvent
impl Display for LeaseValidationEvent
Source§impl PartialEq for LeaseValidationEvent
impl PartialEq for LeaseValidationEvent
impl Copy for LeaseValidationEvent
impl Eq for LeaseValidationEvent
impl StructuralPartialEq for LeaseValidationEvent
Auto Trait Implementations§
impl Freeze for LeaseValidationEvent
impl RefUnwindSafe for LeaseValidationEvent
impl Send for LeaseValidationEvent
impl Sync for LeaseValidationEvent
impl Unpin for LeaseValidationEvent
impl UnsafeUnpin for LeaseValidationEvent
impl UnwindSafe for LeaseValidationEvent
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