Enum rustix::fs::Advice [−][src]
#[repr(u32)]
pub enum Advice {
Normal,
Sequential,
Random,
NoReuse,
WillNeed,
DontNeed,
}
Expand description
POSIX_FADV_*
constants for use with fadvise
.
Variants
Normal
POSIX_FADV_NORMAL
Sequential
POSIX_FADV_SEQUENTIAL
Random
POSIX_FADV_RANDOM
NoReuse
POSIX_FADV_NOREUSE
WillNeed
POSIX_FADV_WILLNEED
DontNeed
POSIX_FADV_DONTNEED
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Advice
impl UnwindSafe for Advice
Blanket Implementations
Mutably borrows from an owned value. Read more