pub enum CopysetState {
Active,
Draining,
SyncedDrained,
Retired,
Unknown(String),
}Expand description
CopysetState 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 CopysetState value.
Variants§
Active
Draining
SyncedDrained
Retired
Unknown(String)
A value not defined when this SDK was generated.
Implementations§
Trait Implementations§
Source§impl Clone for CopysetState
impl Clone for CopysetState
Source§fn clone(&self) -> CopysetState
fn clone(&self) -> CopysetState
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 Debug for CopysetState
impl Debug for CopysetState
Source§impl<'de> Deserialize<'de> for CopysetState
impl<'de> Deserialize<'de> for CopysetState
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 Display for CopysetState
impl Display for CopysetState
impl Eq for CopysetState
Source§impl From<&str> for CopysetState
impl From<&str> for CopysetState
Source§impl PartialEq for CopysetState
impl PartialEq for CopysetState
Source§impl Serialize for CopysetState
impl Serialize for CopysetState
impl StructuralPartialEq for CopysetState
Auto Trait Implementations§
impl Freeze for CopysetState
impl RefUnwindSafe for CopysetState
impl Send for CopysetState
impl Sync for CopysetState
impl Unpin for CopysetState
impl UnsafeUnpin for CopysetState
impl UnwindSafe for CopysetState
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