Enum VidHeaderField
#[non_exhaustive]pub enum VidHeaderField {
VolType,
CopyFlag,
VolId,
Lnum,
DataSize,
UsedEbs,
DataPad,
}Expand description
Field of the VID header, 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.
VolType
vol_type.
CopyFlag
copy_flag.
VolId
vol_id.
Lnum
lnum.
DataSize
data_size.
UsedEbs
used_ebs.
DataPad
data_pad.
Trait Implementations§
§impl Clone for VidHeaderField
impl Clone for VidHeaderField
§fn clone(&self) -> VidHeaderField
fn clone(&self) -> VidHeaderField
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 VidHeaderField
§impl Debug for VidHeaderField
impl Debug for VidHeaderField
§impl Display for VidHeaderField
impl Display for VidHeaderField
impl Eq for VidHeaderField
§impl Hash for VidHeaderField
impl Hash for VidHeaderField
§impl PartialEq for VidHeaderField
impl PartialEq for VidHeaderField
impl StructuralPartialEq for VidHeaderField
Auto Trait Implementations§
impl Freeze for VidHeaderField
impl RefUnwindSafe for VidHeaderField
impl Send for VidHeaderField
impl Sync for VidHeaderField
impl Unpin for VidHeaderField
impl UnsafeUnpin for VidHeaderField
impl UnwindSafe for VidHeaderField
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