pub enum LeaseStatus {
Active,
Expired,
Revoked,
}Expand description
Public lease status for all resource lease types.
Variants§
Active
Lease is active and operations are allowed.
Expired
Lease TTL has elapsed; operations fail with LeaseExpired.
Revoked
Lease was explicitly freed/revoked.
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