pub enum UnitType {
Service,
Mount,
Swap,
Socket,
Target,
Device,
Automount,
Timer,
Path,
Slice,
Scope,
}
Variants§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for UnitType
impl<'de> Deserialize<'de> for UnitType
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<'a> From<&'a UnitType> for OwnedValue
impl<'a> From<&'a UnitType> for OwnedValue
Source§impl From<UnitType> for OwnedValue
impl From<UnitType> for OwnedValue
Source§impl Ord for UnitType
impl Ord for UnitType
Source§impl PartialOrd for UnitType
impl PartialOrd for UnitType
Source§impl TryFrom<OwnedValue> for UnitType
impl TryFrom<OwnedValue> for UnitType
impl Copy for UnitType
impl Eq for UnitType
impl StructuralPartialEq for UnitType
Auto Trait Implementations§
impl Freeze for UnitType
impl RefUnwindSafe for UnitType
impl Send for UnitType
impl Sync for UnitType
impl Unpin for UnitType
impl UnwindSafe for UnitType
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.