pub enum ScannerState {
Idle,
Scanning,
Paused,
}Expand description
Scanner state machine
Variants§
Trait Implementations§
Source§impl Clone for ScannerState
impl Clone for ScannerState
Source§fn clone(&self) -> ScannerState
fn clone(&self) -> ScannerState
Returns a duplicate 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 ScannerState
impl Debug for ScannerState
Source§impl PartialEq for ScannerState
impl PartialEq for ScannerState
impl Copy for ScannerState
impl Eq for ScannerState
impl StructuralPartialEq for ScannerState
Auto Trait Implementations§
impl Freeze for ScannerState
impl RefUnwindSafe for ScannerState
impl Send for ScannerState
impl Sync for ScannerState
impl Unpin for ScannerState
impl UnwindSafe for ScannerState
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