#[non_exhaustive]pub enum ProtectHostname {
No,
Yes,
Private,
}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 ProtectHostname
impl Clone for ProtectHostname
impl Copy for ProtectHostname
Source§impl Debug for ProtectHostname
impl Debug for ProtectHostname
impl Eq for ProtectHostname
Source§impl From<ProtectHostname> for Variant<'_>
impl From<ProtectHostname> for Variant<'_>
Source§fn from(v: ProtectHostname) -> Self
fn from(v: ProtectHostname) -> Self
Converts to this type from the input type.
Source§impl FromStr for ProtectHostname
impl FromStr for ProtectHostname
Source§impl Hash for ProtectHostname
impl Hash for ProtectHostname
Source§impl PartialEq for ProtectHostname
impl PartialEq for ProtectHostname
impl StructuralPartialEq for ProtectHostname
Source§impl TryFrom<Variant<'_>> for ProtectHostname
impl TryFrom<Variant<'_>> for ProtectHostname
Auto Trait Implementations§
impl Freeze for ProtectHostname
impl RefUnwindSafe for ProtectHostname
impl Send for ProtectHostname
impl Sync for ProtectHostname
impl Unpin for ProtectHostname
impl UnsafeUnpin for ProtectHostname
impl UnwindSafe for ProtectHostname
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