#[non_exhaustive]pub enum CoverFrom {
Start,
Field(String),
}Expand description
Where a checksum’s range starts.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Start
The first byte of the message.
Field(String)
The first byte of a named field, such as the one after a sync word.
Trait Implementations§
impl Eq for CoverFrom
impl StructuralPartialEq for CoverFrom
Auto Trait Implementations§
impl Freeze for CoverFrom
impl RefUnwindSafe for CoverFrom
impl Send for CoverFrom
impl Sync for CoverFrom
impl Unpin for CoverFrom
impl UnsafeUnpin for CoverFrom
impl UnwindSafe for CoverFrom
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