pub enum FlashState {
Ready,
Read,
Write,
Erase,
}
Expand description
FlashState is used to track the current state and command of the flash.
Variants§
Trait Implementations§
Source§impl Clone for FlashState
impl Clone for FlashState
Source§fn clone(&self) -> FlashState
fn clone(&self) -> FlashState
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 PartialEq for FlashState
impl PartialEq for FlashState
impl Copy for FlashState
impl StructuralPartialEq for FlashState
Auto Trait Implementations§
impl Freeze for FlashState
impl RefUnwindSafe for FlashState
impl Send for FlashState
impl Sync for FlashState
impl Unpin for FlashState
impl UnwindSafe for FlashState
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