Enum cloudabi::advice [] [src]

#[repr(u8)]
pub enum advice { DONTNEED, NOREUSE, NORMAL, RANDOM, SEQUENTIAL, WILLNEED, // some variants omitted }

File or memory access pattern advisory information.

Variants

The application expects that it will not access the specified data in the near future.

The application expects to access the specified data once and then not reuse it thereafter.

The application has no advice to give on its behavior with respect to the specified data.

The application expects to access the specified data in a random order.

The application expects to access the specified data sequentially from lower offsets to higher offsets.

The application expects to access the specified data in the near future.

Trait Implementations

impl Copy for advice
[src]

impl Clone for advice
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Eq for advice
[src]

impl PartialEq for advice
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

1.0.0
[src]

This method tests for !=.

impl Hash for advice
[src]

[src]

Feeds this value into the given [Hasher]. Read more

1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more

impl Debug for advice
[src]

[src]

Formats the value using the given formatter.