Enum rustix::fs::Advice
#[repr(u32)]
pub enum Advice {
Normal,
Sequential,
Random,
NoReuse,
WillNeed,
DontNeed,
}Documentation
POSIX_FADV_* constants for use with fadvise.
Variants
NormalPOSIX_FADV_NORMAL
SequentialPOSIX_FADV_SEQUENTIAL
RandomPOSIX_FADV_RANDOM
NoReusePOSIX_FADV_NOREUSE
WillNeedPOSIX_FADV_WILLNEED
DontNeedPOSIX_FADV_DONTNEED
Trait Implementations
impl Debug for Advice
fn fmt(&Self, f: &mut $crate::fmt::Formatter<'_>) -> $crate::fmt::Resultimpl StructuralEq for Adviceimpl StructuralPartialEq for AdviceAuto Trait Implementations
impl RefUnwindSafe for Adviceimpl UnwindSafe for AdviceBlanket Implementations
impl<T> BorrowMut<T> for T
where
T: ?Sized,
where
T: ?Sized,
fn borrow_mut(&mut Self) -> &mut T