pub enum SuccessCode {
Complete,
Written,
Queued,
}
Expand description
Standard success codes.
Variants§
Complete
Operation complete, no changes have been made to flash.
Written
All changes have been written to flash. The operation is complete.
Queued
The write operation has been queued
Trait Implementations§
Source§impl Clone for SuccessCode
impl Clone for SuccessCode
Source§fn clone(&self) -> SuccessCode
fn clone(&self) -> SuccessCode
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 SuccessCode
impl Debug for SuccessCode
Source§impl From<SuccessCode> for isize
impl From<SuccessCode> for isize
Source§fn from(original: SuccessCode) -> isize
fn from(original: SuccessCode) -> isize
Converts to this type from the input type.
Source§impl From<SuccessCode> for usize
impl From<SuccessCode> for usize
Source§fn from(original: SuccessCode) -> usize
fn from(original: SuccessCode) -> usize
Converts to this type from the input type.
Source§impl PartialEq for SuccessCode
impl PartialEq for SuccessCode
impl Copy for SuccessCode
impl StructuralPartialEq for SuccessCode
Auto Trait Implementations§
impl Freeze for SuccessCode
impl RefUnwindSafe for SuccessCode
impl Send for SuccessCode
impl Sync for SuccessCode
impl Unpin for SuccessCode
impl UnwindSafe for SuccessCode
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