pub struct SectorErase {
pub size: u32,
pub opcode: u8,
pub time: Option<TimeBound>,
}
Expand description
SectorErase
represents the supported erase sector sizes of the device.
Fields§
§size: u32
§opcode: u8
§time: Option<TimeBound>
Trait Implementations§
Source§impl Annotate for &SectorErase
impl Annotate for &SectorErase
fn format(&self, variant: Option<&str>, field: &MemberId<'_>) -> Option<Format>
fn comment(&self, variant: Option<&str>, field: &MemberId<'_>) -> Option<String>
fn as_annotate(&self) -> Option<&dyn Annotate>
fn thunk_serialize( &self, serializer: &mut AnnotatedSerializer<'_>, ) -> Result<Document, Error>
Source§impl Annotate for SectorErase
impl Annotate for SectorErase
fn format(&self, _variant: Option<&str>, field: &MemberId<'_>) -> Option<Format>
fn comment( &self, _variant: Option<&str>, field: &MemberId<'_>, ) -> Option<String>
fn as_annotate(&self) -> Option<&dyn Annotate>
fn thunk_serialize( &self, serializer: &mut AnnotatedSerializer<'_>, ) -> Result<Document, Error>
Source§impl Clone for SectorErase
impl Clone for SectorErase
Source§fn clone(&self) -> SectorErase
fn clone(&self) -> SectorErase
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 SectorErase
impl Debug for SectorErase
Source§impl Default for SectorErase
impl Default for SectorErase
Source§fn default() -> SectorErase
fn default() -> SectorErase
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SectorErase
impl RefUnwindSafe for SectorErase
impl Send for SectorErase
impl Sync for SectorErase
impl Unpin for SectorErase
impl UnwindSafe for SectorErase
Blanket Implementations§
§impl<T> Annotate for T
impl<T> Annotate for T
default fn format( &self, _variant: Option<&str>, _field: &MemberId<'_>, ) -> Option<Format>
default fn comment( &self, _variant: Option<&str>, _field: &MemberId<'_>, ) -> Option<String>
default fn as_annotate(&self) -> Option<&dyn Annotate>
default fn thunk_serialize( &self, serializer: &mut AnnotatedSerializer<'_>, ) -> Result<Document, Error>
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