pub struct SectorDescriptor {
pub id_chsn: DiskChsn,
pub data: Vec<u8>,
pub weak_mask: Option<Vec<u8>>,
pub hole_mask: Option<Vec<u8>>,
pub address_crc_error: bool,
pub data_crc_error: bool,
pub deleted_mark: bool,
pub missing_data: bool,
}Fields§
§id_chsn: DiskChsn§data: Vec<u8>§weak_mask: Option<Vec<u8>>§hole_mask: Option<Vec<u8>>§address_crc_error: bool§data_crc_error: bool§deleted_mark: bool§missing_data: boolTrait Implementations§
Source§impl Default for SectorDescriptor
impl Default for SectorDescriptor
Source§fn default() -> SectorDescriptor
fn default() -> SectorDescriptor
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SectorDescriptor
impl RefUnwindSafe for SectorDescriptor
impl Send for SectorDescriptor
impl Sync for SectorDescriptor
impl Unpin for SectorDescriptor
impl UnwindSafe for SectorDescriptor
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