pub enum TimerMonotonicBase {
OnActiveUSec,
OnBootUSec,
OnStartupUSec,
OnUnitActiveUSec,
OnUnitInactiveUSec,
}Expand description
Unused: A monotonic timer base. base in TimerMonotonic, temporarily String only
Variants§
Trait Implementations§
Source§impl Clone for TimerMonotonicBase
impl Clone for TimerMonotonicBase
Source§fn clone(&self) -> TimerMonotonicBase
fn clone(&self) -> TimerMonotonicBase
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 moreimpl Copy for TimerMonotonicBase
Source§impl Debug for TimerMonotonicBase
impl Debug for TimerMonotonicBase
Source§impl<'de> Deserialize<'de> for TimerMonotonicBase
impl<'de> Deserialize<'de> for TimerMonotonicBase
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 TimerMonotonicBase
Source§impl<'a> From<&'a TimerMonotonicBase> for OwnedValue
impl<'a> From<&'a TimerMonotonicBase> for OwnedValue
Source§fn from(value: &'a TimerMonotonicBase) -> Self
fn from(value: &'a TimerMonotonicBase) -> Self
Converts to this type from the input type.
Source§impl<'a> From<&'a TimerMonotonicBase> for Value<'a>
impl<'a> From<&'a TimerMonotonicBase> for Value<'a>
Source§fn from(value: &'a TimerMonotonicBase) -> Self
fn from(value: &'a TimerMonotonicBase) -> Self
Converts to this type from the input type.
Source§impl From<&TimerMonotonicBase> for &str
impl From<&TimerMonotonicBase> for &str
Source§fn from(s: &TimerMonotonicBase) -> Self
fn from(s: &TimerMonotonicBase) -> Self
Converts to this type from the input type.
Source§impl From<TimerMonotonicBase> for &str
impl From<TimerMonotonicBase> for &str
Source§fn from(m: TimerMonotonicBase) -> Self
fn from(m: TimerMonotonicBase) -> Self
Converts to this type from the input type.
Source§impl From<TimerMonotonicBase> for OwnedValue
impl From<TimerMonotonicBase> for OwnedValue
Source§fn from(value: TimerMonotonicBase) -> Self
fn from(value: TimerMonotonicBase) -> Self
Converts to this type from the input type.
Source§impl<'a> From<TimerMonotonicBase> for Value<'a>
impl<'a> From<TimerMonotonicBase> for Value<'a>
Source§fn from(value: TimerMonotonicBase) -> Self
fn from(value: TimerMonotonicBase) -> Self
Converts to this type from the input type.
Source§impl FromStr for TimerMonotonicBase
impl FromStr for TimerMonotonicBase
Source§impl Ord for TimerMonotonicBase
impl Ord for TimerMonotonicBase
Source§fn cmp(&self, other: &TimerMonotonicBase) -> Ordering
fn cmp(&self, other: &TimerMonotonicBase) -> Ordering
1.21.0 (const: unstable) · 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 TimerMonotonicBase
impl PartialEq for TimerMonotonicBase
Source§fn eq(&self, other: &TimerMonotonicBase) -> bool
fn eq(&self, other: &TimerMonotonicBase) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for TimerMonotonicBase
impl PartialOrd for TimerMonotonicBase
Source§impl Serialize for TimerMonotonicBase
impl Serialize for TimerMonotonicBase
impl StructuralPartialEq for TimerMonotonicBase
Source§impl TryFrom<OwnedValue> for TimerMonotonicBase
impl TryFrom<OwnedValue> for TimerMonotonicBase
Source§impl<'a> TryFrom<Value<'a>> for TimerMonotonicBase
impl<'a> TryFrom<Value<'a>> for TimerMonotonicBase
Auto Trait Implementations§
impl Freeze for TimerMonotonicBase
impl RefUnwindSafe for TimerMonotonicBase
impl Send for TimerMonotonicBase
impl Sync for TimerMonotonicBase
impl Unpin for TimerMonotonicBase
impl UnsafeUnpin for TimerMonotonicBase
impl UnwindSafe for TimerMonotonicBase
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.