pub enum LeaseState {
Alive,
Draining,
}Expand description
Wire-level registration state (display-only projection).
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 moreSource§impl ComposeSchema for LeaseState
impl ComposeSchema for LeaseState
Source§impl Debug for LeaseState
impl Debug for LeaseState
Source§impl<'de> Deserialize<'de> for LeaseState
impl<'de> Deserialize<'de> for LeaseState
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for LeaseState
impl PartialEq for LeaseState
Source§fn eq(&self, other: &LeaseState) -> bool
fn eq(&self, other: &LeaseState) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for LeaseState
impl Serialize 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