#[repr(u32)]pub enum Advice {
Normal = 0,
Sequential = 2,
Random = 1,
NoReuse = 5,
WillNeed = 3,
DontNeed = 4,
}
Expand description
POSIX_FADV_*
constants for use with fadvise
.
Variants§
Normal = 0
POSIX_FADV_NORMAL
Sequential = 2
POSIX_FADV_SEQUENTIAL
Random = 1
POSIX_FADV_RANDOM
NoReuse = 5
POSIX_FADV_NOREUSE
WillNeed = 3
POSIX_FADV_WILLNEED
DontNeed = 4
POSIX_FADV_DONTNEED
Trait Implementations§
impl Copy for Advice
impl Eq for Advice
impl StructuralPartialEq for Advice
Auto Trait Implementations§
impl Freeze for Advice
impl RefUnwindSafe for Advice
impl Send for Advice
impl Sync for Advice
impl Unpin for Advice
impl UnwindSafe for Advice
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