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