#[non_exhaustive]pub enum FcntlArg<'a> {
Show 16 variants
F_DUPFD(RawFd),
F_DUPFD_CLOEXEC(RawFd),
F_GETFD,
F_SETFD(FdFlag),
F_GETFL,
F_SETFL(OFlag),
F_SETLK(&'a flock),
F_SETLKW(&'a flock),
F_GETLK(&'a mut flock),
F_OFD_SETLK(&'a flock),
F_OFD_SETLKW(&'a flock),
F_OFD_GETLK(&'a mut flock),
F_ADD_SEALS(SealFlag),
F_GET_SEALS,
F_GETPIPE_SZ,
F_SETPIPE_SZ(c_int),
}
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.
F_DUPFD(RawFd)
F_DUPFD_CLOEXEC(RawFd)
F_GETFD
F_SETFD(FdFlag)
F_GETFL
F_SETFL(OFlag)
F_SETLK(&'a flock)
F_SETLKW(&'a flock)
F_GETLK(&'a mut flock)
F_OFD_SETLK(&'a flock)
F_OFD_SETLKW(&'a flock)
F_OFD_GETLK(&'a mut flock)
F_ADD_SEALS(SealFlag)
F_GET_SEALS
F_GETPIPE_SZ
F_SETPIPE_SZ(c_int)
Trait Implementations§
impl<'a> Eq for FcntlArg<'a>
impl<'a> StructuralPartialEq for FcntlArg<'a>
Auto Trait Implementations§
impl<'a> Freeze for FcntlArg<'a>
impl<'a> RefUnwindSafe for FcntlArg<'a>
impl<'a> Send for FcntlArg<'a>
impl<'a> Sync for FcntlArg<'a>
impl<'a> Unpin for FcntlArg<'a>
impl<'a> !UnwindSafe for FcntlArg<'a>
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