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 · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more