Enum rsix::io::Advice [−][src]
#[repr(u32)]
pub enum Advice {
Show 21 variants
Normal,
Sequential,
Random,
WillNeed,
LinuxDontNeed,
LinuxFree,
LinuxRemove,
LinuxDontFork,
LinuxDoFork,
LinuxHwPoison,
LinuxSoftOffline,
LinuxMergeable,
LinuxUnmergeable,
LinuxHugepage,
LinuxNoHugepage,
LinuxDontDump,
LinuxDoDump,
LinuxWipeOnFork,
LinuxKeepOnFork,
LinuxCold,
LinuxPageOut,
}
Expand description
POSIX_MADV_*
constants for use with madvise
.
Variants
POSIX_MADV_NORMAL
POSIX_MADV_SEQUENTIAL
POSIX_MADV_RANDOM
POSIX_MADV_WILLNEED
MADV_DONTNEED
MADV_FREE
MADV_REMOVE
MADV_DONTFORK
MADV_DOFORK
MADV_HWPOISON
MADV_SOFT_OFFLINE
MADV_MERGEABLE
MADV_UNMERGEABLE
MADV_HUGEPAGE
MADV_NOHUGEPAGE
MADV_DONTDUMP
MADV_DODUMP
MADV_WIPEONFORK
MADV_KEEPONFORK
MADV_COLD
MADV_PAGEOUT
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Advice
impl UnwindSafe for Advice
Blanket Implementations
Mutably borrows from an owned value. Read more