Enum sbp::messages::flash::msg_flash_done::ResponseCode
source · [−]pub enum ResponseCode {
FlashOk,
FlashInvalidFlash,
FlashInvalidLen,
FlashInvalidAddr,
FlashInvalidRange,
FlashInvalidSector,
}
Expand description
Response code
Variants
FlashOk
FLASH_OK
FlashInvalidFlash
FLASH_INVALID_FLASH
FlashInvalidLen
FLASH_INVALID_LEN
FlashInvalidAddr
FLASH_INVALID_ADDR
FlashInvalidRange
FLASH_INVALID_RANGE
FlashInvalidSector
FLASH_INVALID_SECTOR
Trait Implementations
sourceimpl Clone for ResponseCode
impl Clone for ResponseCode
sourcefn clone(&self) -> ResponseCode
fn clone(&self) -> ResponseCode
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ResponseCode
impl Debug for ResponseCode
sourceimpl Display for ResponseCode
impl Display for ResponseCode
sourceimpl Hash for ResponseCode
impl Hash for ResponseCode
sourceimpl PartialEq<ResponseCode> for ResponseCode
impl PartialEq<ResponseCode> for ResponseCode
sourceimpl TryFrom<u8> for ResponseCode
impl TryFrom<u8> for ResponseCode
impl Copy for ResponseCode
impl Eq for ResponseCode
impl StructuralEq for ResponseCode
impl StructuralPartialEq for ResponseCode
Auto Trait Implementations
impl RefUnwindSafe for ResponseCode
impl Send for ResponseCode
impl Sync for ResponseCode
impl Unpin for ResponseCode
impl UnwindSafe for ResponseCode
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more