Enum nvme::nvm::AccessFrequency
source · pub enum AccessFrequency {
NoInfo,
Typical,
InfrequentBoth,
InfrequentWrites,
InfrequentReads,
FrequentBoth,
OneTime,
Speculative,
OverwriteSoon,
}
Variants§
NoInfo
Typical
InfrequentBoth
InfrequentWrites
InfrequentReads
FrequentBoth
OneTime
Speculative
OverwriteSoon
Trait Implementations§
source§impl Clone for AccessFrequency
impl Clone for AccessFrequency
source§fn clone(&self) -> AccessFrequency
fn clone(&self) -> AccessFrequency
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for AccessFrequency
impl Debug for AccessFrequency
source§impl Default for AccessFrequency
impl Default for AccessFrequency
source§fn default() -> AccessFrequency
fn default() -> AccessFrequency
Returns the “default value” for a type. Read more
source§impl Specifier for AccessFrequency
impl Specifier for AccessFrequency
§type InOut = AccessFrequency
type InOut = AccessFrequency
The interface type of the specifier. Read more
source§fn into_bytes(input: Self::InOut) -> Result<Self::Bytes, OutOfBounds>
fn into_bytes(input: Self::InOut) -> Result<Self::Bytes, OutOfBounds>
Converts some bytes into the in-out type. Read more
source§fn from_bytes(
bytes: Self::Bytes
) -> Result<Self::InOut, InvalidBitPattern<Self::Bytes>>
fn from_bytes( bytes: Self::Bytes ) -> Result<Self::InOut, InvalidBitPattern<Self::Bytes>>
Converts the given bytes into the in-out type. Read more
impl Copy for AccessFrequency
Auto Trait Implementations§
impl RefUnwindSafe for AccessFrequency
impl Send for AccessFrequency
impl Sync for AccessFrequency
impl Unpin for AccessFrequency
impl UnwindSafe for AccessFrequency
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