pub enum ActiveState {
Active,
Reloading,
Inactive,
Failed,
Activating,
Deactivating,
Maintenance,
}Variants§
Trait Implementations§
Source§impl Clone for ActiveState
impl Clone for ActiveState
Source§fn clone(&self) -> ActiveState
fn clone(&self) -> ActiveState
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 ActiveState
impl Debug for ActiveState
Source§impl<'de> Deserialize<'de> for ActiveState
impl<'de> Deserialize<'de> for ActiveState
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 From<&ActiveState> for &str
impl From<&ActiveState> for &str
Source§fn from(s: &ActiveState) -> Self
fn from(s: &ActiveState) -> Self
Converts to this type from the input type.
Source§impl<'a> From<&'a ActiveState> for OwnedValue
impl<'a> From<&'a ActiveState> for OwnedValue
Source§fn from(value: &'a ActiveState) -> Self
fn from(value: &'a ActiveState) -> Self
Converts to this type from the input type.
Source§impl<'a> From<&'a ActiveState> for Value<'a>
impl<'a> From<&'a ActiveState> for Value<'a>
Source§fn from(value: &'a ActiveState) -> Self
fn from(value: &'a ActiveState) -> Self
Converts to this type from the input type.
Source§impl From<ActiveState> for &str
impl From<ActiveState> for &str
Source§fn from(m: ActiveState) -> Self
fn from(m: ActiveState) -> Self
Converts to this type from the input type.
Source§impl From<ActiveState> for OwnedValue
impl From<ActiveState> for OwnedValue
Source§fn from(value: ActiveState) -> Self
fn from(value: ActiveState) -> Self
Converts to this type from the input type.
Source§impl<'a> From<ActiveState> for Value<'a>
impl<'a> From<ActiveState> for Value<'a>
Source§fn from(value: ActiveState) -> Self
fn from(value: ActiveState) -> Self
Converts to this type from the input type.
Source§impl FromStr for ActiveState
impl FromStr for ActiveState
Source§impl Ord for ActiveState
impl Ord for ActiveState
Source§fn cmp(&self, other: &ActiveState) -> Ordering
fn cmp(&self, other: &ActiveState) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ActiveState
impl PartialEq for ActiveState
Source§impl PartialOrd for ActiveState
impl PartialOrd for ActiveState
Source§impl Serialize for ActiveState
impl Serialize for ActiveState
Source§impl TryFrom<OwnedValue> for ActiveState
impl TryFrom<OwnedValue> for ActiveState
Source§impl<'a> TryFrom<Value<'a>> for ActiveState
impl<'a> TryFrom<Value<'a>> for ActiveState
Source§impl Type for ActiveState
impl Type for ActiveState
impl Copy for ActiveState
impl Eq for ActiveState
impl StructuralPartialEq for ActiveState
Auto Trait Implementations§
impl Freeze for ActiveState
impl RefUnwindSafe for ActiveState
impl Send for ActiveState
impl Sync for ActiveState
impl Unpin for ActiveState
impl UnwindSafe for ActiveState
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<'de, T> DynamicDeserialize<'de> for Twhere
T: Type + Deserialize<'de>,
impl<'de, T> DynamicDeserialize<'de> for Twhere
T: Type + Deserialize<'de>,
Source§type Deserializer = PhantomData<T>
type Deserializer = PhantomData<T>
A DeserializeSeed implementation for this type.
Source§fn deserializer_for_signature(
signature: &Signature,
) -> Result<<T as DynamicDeserialize<'de>>::Deserializer, Error>
fn deserializer_for_signature( signature: &Signature, ) -> Result<<T as DynamicDeserialize<'de>>::Deserializer, Error>
Get a deserializer compatible with this parsed signature.