pub enum DriveCacheType {
None,
Writeback,
Writethrough,
Unsafe,
Directsync,
}Variants§
Trait Implementations§
Source§impl Clone for DriveCacheType
impl Clone for DriveCacheType
Source§fn clone(&self) -> DriveCacheType
fn clone(&self) -> DriveCacheType
Returns a duplicate 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 DriveCacheType
impl Debug for DriveCacheType
Source§impl Default for DriveCacheType
impl Default for DriveCacheType
Source§fn default() -> DriveCacheType
fn default() -> DriveCacheType
Returns the “default value” for a type. Read more
Source§impl Hash for DriveCacheType
impl Hash for DriveCacheType
Source§impl Ord for DriveCacheType
impl Ord for DriveCacheType
Source§fn cmp(&self, other: &DriveCacheType) -> Ordering
fn cmp(&self, other: &DriveCacheType) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for DriveCacheType
impl PartialEq for DriveCacheType
Source§impl PartialOrd for DriveCacheType
impl PartialOrd for DriveCacheType
impl Eq for DriveCacheType
impl StructuralPartialEq for DriveCacheType
Auto Trait Implementations§
impl Freeze for DriveCacheType
impl RefUnwindSafe for DriveCacheType
impl Send for DriveCacheType
impl Sync for DriveCacheType
impl Unpin for DriveCacheType
impl UnwindSafe for DriveCacheType
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