Enum ReaderState
enum ReaderState {
AwaitingHeader,
AwaitingPayload {
length: usize,
expected_crc: u32,
},
Stopped,
}Available on crate feature
alloc only.Variants§
Trait Implementations§
§impl Clone for ReaderState
impl Clone for ReaderState
§fn clone(&self) -> ReaderState
fn clone(&self) -> ReaderState
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 moreimpl Copy for ReaderState
Auto Trait Implementations§
impl Freeze for ReaderState
impl RefUnwindSafe for ReaderState
impl Send for ReaderState
impl Sync for ReaderState
impl Unpin for ReaderState
impl UnwindSafe for ReaderState
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