pub enum LeaseStatus {
Active,
Expired,
Unknown,
}Expand description
Lease lifecycle status.
Variants§
Active
Lease is valid and usable.
Expired
Lease TTL has elapsed and operations should fail.
Unknown
Lease status could not be determined reliably.
Trait Implementations§
Source§impl Clone for LeaseStatus
impl Clone for LeaseStatus
Source§fn clone(&self) -> LeaseStatus
fn clone(&self) -> LeaseStatus
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 LeaseStatus
impl Debug for LeaseStatus
Source§impl PartialEq for LeaseStatus
impl PartialEq for LeaseStatus
impl Copy for LeaseStatus
impl Eq for LeaseStatus
impl StructuralPartialEq for LeaseStatus
Auto Trait Implementations§
impl Freeze for LeaseStatus
impl RefUnwindSafe for LeaseStatus
impl Send for LeaseStatus
impl Sync for LeaseStatus
impl Unpin for LeaseStatus
impl UnwindSafe for LeaseStatus
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