#[repr(u64)]pub enum LeaseState {
Issued = 1,
Reserved = 2,
Active = 3,
Suspended = 4,
Closed = 5,
Revoked = 6,
Expired = 7,
}Variants§
Trait Implementations§
Source§impl Clone for LeaseState
impl Clone for LeaseState
Source§fn clone(&self) -> LeaseState
fn clone(&self) -> LeaseState
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for LeaseState
Source§impl Debug for LeaseState
impl Debug for LeaseState
impl Eq for LeaseState
Source§impl PartialEq for LeaseState
impl PartialEq for LeaseState
impl StructuralPartialEq for LeaseState
Auto Trait Implementations§
impl Freeze for LeaseState
impl RefUnwindSafe for LeaseState
impl Send for LeaseState
impl Sync for LeaseState
impl Unpin for LeaseState
impl UnsafeUnpin for LeaseState
impl UnwindSafe for LeaseState
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