pub enum ServiceCgroup {
Host,
Private,
}
Variants§
Trait Implementations§
Source§impl Clone for ServiceCgroup
impl Clone for ServiceCgroup
Source§fn clone(&self) -> ServiceCgroup
fn clone(&self) -> ServiceCgroup
Returns a copy 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 ServiceCgroup
impl Debug for ServiceCgroup
Source§impl<'de> Deserialize<'de> for ServiceCgroup
impl<'de> Deserialize<'de> for ServiceCgroup
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 ServiceCgroup
impl Display for ServiceCgroup
Source§impl From<&ServiceCgroup> for ServiceCgroup
impl From<&ServiceCgroup> for ServiceCgroup
Source§fn from(value: &ServiceCgroup) -> Self
fn from(value: &ServiceCgroup) -> Self
Converts to this type from the input type.
Source§impl FromStr for ServiceCgroup
impl FromStr for ServiceCgroup
Source§impl Hash for ServiceCgroup
impl Hash for ServiceCgroup
Source§impl Ord for ServiceCgroup
impl Ord for ServiceCgroup
Source§fn cmp(&self, other: &ServiceCgroup) -> Ordering
fn cmp(&self, other: &ServiceCgroup) -> 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 ServiceCgroup
impl PartialEq for ServiceCgroup
Source§impl PartialOrd for ServiceCgroup
impl PartialOrd for ServiceCgroup
Source§impl Serialize for ServiceCgroup
impl Serialize for ServiceCgroup
impl Copy for ServiceCgroup
impl Eq for ServiceCgroup
impl StructuralPartialEq for ServiceCgroup
Auto Trait Implementations§
impl Freeze for ServiceCgroup
impl RefUnwindSafe for ServiceCgroup
impl Send for ServiceCgroup
impl Sync for ServiceCgroup
impl Unpin for ServiceCgroup
impl UnwindSafe for ServiceCgroup
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<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.