#[non_exhaustive]#[repr(u32)]pub enum btrfs_err_code {
BTRFS_ERROR_DEV_RAID1_MIN_NOT_MET = 1,
BTRFS_ERROR_DEV_RAID10_MIN_NOT_MET = 2,
BTRFS_ERROR_DEV_RAID5_MIN_NOT_MET = 3,
BTRFS_ERROR_DEV_RAID6_MIN_NOT_MET = 4,
BTRFS_ERROR_DEV_TGT_REPLACE = 5,
BTRFS_ERROR_DEV_MISSING_NOT_FOUND = 6,
BTRFS_ERROR_DEV_ONLY_WRITABLE = 7,
BTRFS_ERROR_DEV_EXCL_RUN_IN_PROGRESS = 8,
BTRFS_ERROR_DEV_RAID1C3_MIN_NOT_MET = 9,
BTRFS_ERROR_DEV_RAID1C4_MIN_NOT_MET = 10,
}
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_ERROR_DEV_RAID1_MIN_NOT_MET = 1
BTRFS_ERROR_DEV_RAID10_MIN_NOT_MET = 2
BTRFS_ERROR_DEV_RAID5_MIN_NOT_MET = 3
BTRFS_ERROR_DEV_RAID6_MIN_NOT_MET = 4
BTRFS_ERROR_DEV_TGT_REPLACE = 5
BTRFS_ERROR_DEV_MISSING_NOT_FOUND = 6
BTRFS_ERROR_DEV_ONLY_WRITABLE = 7
BTRFS_ERROR_DEV_EXCL_RUN_IN_PROGRESS = 8
BTRFS_ERROR_DEV_RAID1C3_MIN_NOT_MET = 9
BTRFS_ERROR_DEV_RAID1C4_MIN_NOT_MET = 10
Trait Implementations§
Source§impl Clone for btrfs_err_code
impl Clone for btrfs_err_code
Source§fn clone(&self) -> btrfs_err_code
fn clone(&self) -> btrfs_err_code
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_err_code
impl Debug for btrfs_err_code
Source§impl Hash for btrfs_err_code
impl Hash for btrfs_err_code
Source§impl PartialEq for btrfs_err_code
impl PartialEq for btrfs_err_code
impl Copy for btrfs_err_code
impl Eq for btrfs_err_code
impl StructuralPartialEq for btrfs_err_code
Auto Trait Implementations§
impl Freeze for btrfs_err_code
impl RefUnwindSafe for btrfs_err_code
impl Send for btrfs_err_code
impl Sync for btrfs_err_code
impl Unpin for btrfs_err_code
impl UnwindSafe for btrfs_err_code
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