Enum VolumeRecordField
#[non_exhaustive]pub enum VolumeRecordField {
ReservedPebs,
Alignment,
DataPad,
VolType,
UpdMarker,
}Expand description
Field of a volume table record, named as in the kernel’s ubi-media.h.
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.
ReservedPebs
reserved_pebs.
Alignment
alignment.
DataPad
data_pad.
VolType
vol_type.
UpdMarker
upd_marker.
Trait Implementations§
§impl Clone for VolumeRecordField
impl Clone for VolumeRecordField
§fn clone(&self) -> VolumeRecordField
fn clone(&self) -> VolumeRecordField
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for VolumeRecordField
§impl Debug for VolumeRecordField
impl Debug for VolumeRecordField
§impl Display for VolumeRecordField
impl Display for VolumeRecordField
impl Eq for VolumeRecordField
§impl Hash for VolumeRecordField
impl Hash for VolumeRecordField
§impl PartialEq for VolumeRecordField
impl PartialEq for VolumeRecordField
impl StructuralPartialEq for VolumeRecordField
Auto Trait Implementations§
impl Freeze for VolumeRecordField
impl RefUnwindSafe for VolumeRecordField
impl Send for VolumeRecordField
impl Sync for VolumeRecordField
impl Unpin for VolumeRecordField
impl UnsafeUnpin for VolumeRecordField
impl UnwindSafe for VolumeRecordField
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