Enum tickv::success_codes::SuccessCode
source · 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
source§fn eq(&self, other: &SuccessCode) -> bool
fn eq(&self, other: &SuccessCode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)