#[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.