pub enum PairState {
Active,
Draining,
SyncedDrained,
Retired,
Unknown(String),
}Expand description
PairState values accepted/returned on the wire. Unknown preserves a
value this SDK does not recognize yet, for forward compatibility with
a server that has introduced a new PairState value.
Variants§
Active
Draining
SyncedDrained
Retired
Unknown(String)
A value not defined when this SDK was generated.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for PairState
impl<'de> Deserialize<'de> for PairState
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
impl Eq for PairState
impl StructuralPartialEq for PairState
Auto Trait Implementations§
impl Freeze for PairState
impl RefUnwindSafe for PairState
impl Send for PairState
impl Sync for PairState
impl Unpin for PairState
impl UnsafeUnpin for PairState
impl UnwindSafe for PairState
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