[][src]Enum io_ranges::Advice

pub enum Advice {
    Normal,
    Sequential,
    Random,
    WillNeed,
    DontNeed,
    NoReuse,
}

Advice to pass to FileIoExt::advise.

Variants

Normal

No advice; default heuristics apply.

Sequential

Data will be accessed sequentially at ascending offsets.

Random

Data will be accessed with an irregular access pattern.

WillNeed

Data will be accessed soon.

DontNeed

Data will not be accessed soon.

NoReuse

Data will be accessed exactly once.

Trait Implementations

impl Debug for Advice[src]

impl Eq for Advice[src]

impl Hash for Advice[src]

impl PartialEq<Advice> for Advice[src]

impl StructuralEq for Advice[src]

impl StructuralPartialEq for Advice[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,