#[non_exhaustive]#[repr(u32)]pub enum btrfs_dev_stat_values {
BTRFS_DEV_STAT_WRITE_ERRS = 0,
BTRFS_DEV_STAT_READ_ERRS = 1,
BTRFS_DEV_STAT_FLUSH_ERRS = 2,
BTRFS_DEV_STAT_CORRUPTION_ERRS = 3,
BTRFS_DEV_STAT_GENERATION_ERRS = 4,
BTRFS_DEV_STAT_VALUES_MAX = 5,
}
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
BTRFS_DEV_STAT_WRITE_ERRS = 0
BTRFS_DEV_STAT_READ_ERRS = 1
BTRFS_DEV_STAT_FLUSH_ERRS = 2
BTRFS_DEV_STAT_CORRUPTION_ERRS = 3
BTRFS_DEV_STAT_GENERATION_ERRS = 4
BTRFS_DEV_STAT_VALUES_MAX = 5
Trait Implementations§
Source§impl Clone for btrfs_dev_stat_values
impl Clone for btrfs_dev_stat_values
Source§fn clone(&self) -> btrfs_dev_stat_values
fn clone(&self) -> btrfs_dev_stat_values
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 btrfs_dev_stat_values
impl Debug for btrfs_dev_stat_values
Source§impl Hash for btrfs_dev_stat_values
impl Hash for btrfs_dev_stat_values
Source§impl PartialEq for btrfs_dev_stat_values
impl PartialEq for btrfs_dev_stat_values
impl Copy for btrfs_dev_stat_values
impl Eq for btrfs_dev_stat_values
impl StructuralPartialEq for btrfs_dev_stat_values
Auto Trait Implementations§
impl Freeze for btrfs_dev_stat_values
impl RefUnwindSafe for btrfs_dev_stat_values
impl Send for btrfs_dev_stat_values
impl Sync for btrfs_dev_stat_values
impl Unpin for btrfs_dev_stat_values
impl UnwindSafe for btrfs_dev_stat_values
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