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
DONTNEEDThe application expects that it will not access the specified data in the near future.
NOREUSEThe application expects to access the specified data once and then not reuse it thereafter.
NORMALThe application has no advice to give on its behavior with respect to the specified data.
RANDOMThe application expects to access the specified data in a random order.
SEQUENTIALThe application expects to access the specified data sequentially from lower offsets to higher offsets.
WILLNEEDThe application expects to access the specified data in the near future.
Trait Implementations
impl Copy for advice[src]
impl Clone for advice[src]
fn clone(&self) -> advice[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl Eq for advice[src]
impl PartialEq for advice[src]
fn eq(&self, __arg_0: &advice) -> bool[src]
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
This method tests for !=.
impl Hash for advice[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)[src]
Feeds this value into the given [Hasher]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0[src]
H: Hasher,
Feeds a slice of this type into the given [Hasher]. Read more