#[non_exhaustive]pub enum FcntlArg<'a> {
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),
}
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)
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