#[non_exhaustive]#[repr(u32)]pub enum fuse_notify_code {
FUSE_NOTIFY_POLL = 1,
FUSE_NOTIFY_INVAL_INODE = 2,
FUSE_NOTIFY_INVAL_ENTRY = 3,
FUSE_NOTIFY_STORE = 4,
FUSE_NOTIFY_RETRIEVE = 5,
FUSE_NOTIFY_DELETE = 6,
FUSE_NOTIFY_RESEND = 7,
FUSE_NOTIFY_CODE_MAX = 8,
}
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.
FUSE_NOTIFY_POLL = 1
FUSE_NOTIFY_INVAL_INODE = 2
FUSE_NOTIFY_INVAL_ENTRY = 3
FUSE_NOTIFY_STORE = 4
FUSE_NOTIFY_RETRIEVE = 5
FUSE_NOTIFY_DELETE = 6
FUSE_NOTIFY_RESEND = 7
FUSE_NOTIFY_CODE_MAX = 8
Trait Implementations§
Source§impl Clone for fuse_notify_code
impl Clone for fuse_notify_code
Source§fn clone(&self) -> fuse_notify_code
fn clone(&self) -> fuse_notify_code
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for fuse_notify_code
impl Debug for fuse_notify_code
Source§impl From<fuse_notify_code> for u32
impl From<fuse_notify_code> for u32
Source§fn from(enum_value: fuse_notify_code) -> Self
fn from(enum_value: fuse_notify_code) -> Self
Converts to this type from the input type.
Source§impl Hash for fuse_notify_code
impl Hash for fuse_notify_code
Source§impl PartialEq for fuse_notify_code
impl PartialEq for fuse_notify_code
Source§impl TryFrom<u32> for fuse_notify_code
impl TryFrom<u32> for fuse_notify_code
Source§type Error = TryFromPrimitiveError<fuse_notify_code>
type Error = TryFromPrimitiveError<fuse_notify_code>
The type returned in the event of a conversion error.
Source§impl TryFromPrimitive for fuse_notify_code
impl TryFromPrimitive for fuse_notify_code
const NAME: &'static str = "fuse_notify_code"
type Primitive = u32
type Error = TryFromPrimitiveError<fuse_notify_code>
fn try_from_primitive( number: Self::Primitive, ) -> Result<Self, TryFromPrimitiveError<Self>>
Source§impl UnsafeFromPrimitive for fuse_notify_code
impl UnsafeFromPrimitive for fuse_notify_code
type Primitive = u32
Source§unsafe fn unchecked_transmute_from(number: Self::Primitive) -> Self
unsafe fn unchecked_transmute_from(number: Self::Primitive) -> Self
Transmutes into an enum from its primitive. Read more
Source§unsafe fn from_unchecked(number: Self::Primitive) -> Self
unsafe fn from_unchecked(number: Self::Primitive) -> Self
👎Deprecated since 0.6.0: Prefer to use
unchecked_transmute_from
, from_unchecked
will be removed in a future release.Transmutes into an enum from its primitive. Read more
impl Copy for fuse_notify_code
impl Eq for fuse_notify_code
impl StructuralPartialEq for fuse_notify_code
Auto Trait Implementations§
impl Freeze for fuse_notify_code
impl RefUnwindSafe for fuse_notify_code
impl Send for fuse_notify_code
impl Sync for fuse_notify_code
impl Unpin for fuse_notify_code
impl UnwindSafe for fuse_notify_code
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