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