Enum sbp::messages::flash::msg_flash_done::ResponseCode
source · pub enum ResponseCode {
FlashOk = 0,
FlashInvalidFlash = 1,
FlashInvalidLen = 2,
FlashInvalidAddr = 3,
FlashInvalidRange = 4,
FlashInvalidSector = 5,
}
Expand description
Response code
Variants§
FlashOk = 0
FLASH_OK
FlashInvalidFlash = 1
FLASH_INVALID_FLASH
FlashInvalidLen = 2
FLASH_INVALID_LEN
FlashInvalidAddr = 3
FLASH_INVALID_ADDR
FlashInvalidRange = 4
FLASH_INVALID_RANGE
FlashInvalidSector = 5
FLASH_INVALID_SECTOR
Trait Implementations§
source§impl Clone for ResponseCode
impl Clone for ResponseCode
source§fn clone(&self) -> ResponseCode
fn clone(&self) -> ResponseCode
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 ResponseCode
impl Debug for ResponseCode
source§impl Display for ResponseCode
impl Display for ResponseCode
source§impl Hash for ResponseCode
impl Hash for ResponseCode
source§impl PartialEq for ResponseCode
impl PartialEq for ResponseCode
source§fn eq(&self, other: &ResponseCode) -> bool
fn eq(&self, other: &ResponseCode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TryFrom<u8> for ResponseCode
impl TryFrom<u8> for ResponseCode
impl Copy for ResponseCode
impl Eq for ResponseCode
impl StructuralPartialEq for ResponseCode
Auto Trait Implementations§
impl Freeze for ResponseCode
impl RefUnwindSafe for ResponseCode
impl Send for ResponseCode
impl Sync for ResponseCode
impl Unpin for ResponseCode
impl UnwindSafe for ResponseCode
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