#[non_exhaustive]pub enum PrivateTmp {
No,
Connected,
Disconnected,
}Expand description
Non-exhaustive: new systemd releases add values.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Implementations§
Trait Implementations§
Source§impl Clone for PrivateTmp
impl Clone for PrivateTmp
impl Copy for PrivateTmp
Source§impl Debug for PrivateTmp
impl Debug for PrivateTmp
impl Eq for PrivateTmp
Source§impl From<PrivateTmp> for Variant<'_>
impl From<PrivateTmp> for Variant<'_>
Source§fn from(v: PrivateTmp) -> Self
fn from(v: PrivateTmp) -> Self
Converts to this type from the input type.
Source§impl FromStr for PrivateTmp
impl FromStr for PrivateTmp
Source§impl Hash for PrivateTmp
impl Hash for PrivateTmp
Source§impl PartialEq for PrivateTmp
impl PartialEq for PrivateTmp
impl StructuralPartialEq for PrivateTmp
Source§impl TryFrom<Variant<'_>> for PrivateTmp
impl TryFrom<Variant<'_>> for PrivateTmp
Auto Trait Implementations§
impl Freeze for PrivateTmp
impl RefUnwindSafe for PrivateTmp
impl Send for PrivateTmp
impl Sync for PrivateTmp
impl Unpin for PrivateTmp
impl UnsafeUnpin for PrivateTmp
impl UnwindSafe for PrivateTmp
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