Enum btrfs_no_std::BackrefRevision
source · [−]#[repr(u8)]
pub enum BackrefRevision {
Old,
Mixed,
}
Variants
Old
Indicates asn old filesystem.
Mixed
Indicates a new filesystem.
Trait Implementations
sourceimpl Clone for BackrefRevision
impl Clone for BackrefRevision
sourcefn clone(&self) -> BackrefRevision
fn clone(&self) -> BackrefRevision
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for BackrefRevision
impl Debug for BackrefRevision
sourceimpl From<BackrefRevision> for u8
impl From<BackrefRevision> for u8
sourcefn from(enum_value: BackrefRevision) -> Self
fn from(enum_value: BackrefRevision) -> Self
Performs the conversion.
sourceimpl Hash for BackrefRevision
impl Hash for BackrefRevision
sourceimpl IntoEnumIterator for BackrefRevision
impl IntoEnumIterator for BackrefRevision
type Iterator = BackrefRevisionIter
fn iter() -> BackrefRevisionIterⓘNotable traits for BackrefRevisionIterimpl Iterator for BackrefRevisionIter type Item = BackrefRevision;
sourceimpl PartialEq<BackrefRevision> for BackrefRevision
impl PartialEq<BackrefRevision> for BackrefRevision
sourceimpl TryFrom<u8> for BackrefRevision
impl TryFrom<u8> for BackrefRevision
type Error = TryFromPrimitiveError<Self>
type Error = TryFromPrimitiveError<Self>
The type returned in the event of a conversion error.
sourcefn try_from(number: u8) -> Result<Self, TryFromPrimitiveError<Self>>
fn try_from(number: u8) -> Result<Self, TryFromPrimitiveError<Self>>
Performs the conversion.
sourceimpl TryFromPrimitive for BackrefRevision
impl TryFromPrimitive for BackrefRevision
type Primitive = u8
const NAME: &'static str
fn try_from_primitive(
number: Self::Primitive
) -> Result<Self, TryFromPrimitiveError<Self>>
impl Copy for BackrefRevision
impl StructuralPartialEq for BackrefRevision
Auto Trait Implementations
impl RefUnwindSafe for BackrefRevision
impl Send for BackrefRevision
impl Sync for BackrefRevision
impl Unpin for BackrefRevision
impl UnwindSafe for BackrefRevision
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more