pub struct ImageErase {
pub slot: Option<u32>,
}Expand description
Image Erase command
Fields§
§slot: Option<u32>slot number; it does not have to appear in the request at all, in which case it is assumed to be 1
Trait Implementations§
Source§impl Debug for ImageErase
impl Debug for ImageErase
Source§impl McuMgrCommand for ImageErase
impl McuMgrCommand for ImageErase
Source§type Payload = ImageErase
type Payload = ImageErase
the data payload type
Source§type Response = ImageEraseResponse
type Response = ImageEraseResponse
the response type of the command
Source§fn is_write_operation(&self) -> bool
fn is_write_operation(&self) -> bool
whether this command is a read or write operation
Source§fn command_id(&self) -> u8
fn command_id(&self) -> u8
the command ID
Source§impl PartialEq for ImageErase
impl PartialEq for ImageErase
Source§impl Serialize for ImageErase
impl Serialize for ImageErase
impl Eq for ImageErase
impl StructuralPartialEq for ImageErase
Auto Trait Implementations§
impl Freeze for ImageErase
impl RefUnwindSafe for ImageErase
impl Send for ImageErase
impl Sync for ImageErase
impl Unpin for ImageErase
impl UnwindSafe for ImageErase
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