#[non_exhaustive]pub enum BlockCheck {
Type1,
Type2,
Type3,
}Expand description
Block check type.
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.
Type1
Single-character arithmetic checksum.
Type2
Two-character 12-bit checksum.
Type3
Three-character CRC-16/KERMIT.
Implementations§
Source§impl BlockCheck
impl BlockCheck
Trait Implementations§
Source§impl Clone for BlockCheck
impl Clone for BlockCheck
impl Copy for BlockCheck
Source§impl Debug for BlockCheck
impl Debug for BlockCheck
Source§impl Default for BlockCheck
impl Default for BlockCheck
impl Eq for BlockCheck
Source§impl PartialEq for BlockCheck
impl PartialEq for BlockCheck
impl StructuralPartialEq for BlockCheck
Auto Trait Implementations§
impl Forget for BlockCheck
impl Freeze for BlockCheck
impl Move for BlockCheck
impl RefUnwindSafe for BlockCheck
impl Send for BlockCheck
impl Sync for BlockCheck
impl Unpin for BlockCheck
impl UnsafeUnpin for BlockCheck
impl UnwindSafe for BlockCheck
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