pub struct Mismatch {
pub offset: usize,
pub expected: Option<u8>,
pub actual: Option<u8>,
}Expand description
The first byte where a field sequence and its wire encoding differ.
Fields§
§offset: usize§expected: Option<u8>§actual: Option<u8>Trait Implementations§
impl Copy for Mismatch
impl Eq for Mismatch
impl StructuralPartialEq for Mismatch
Auto Trait Implementations§
impl Forget for Mismatch
impl Freeze for Mismatch
impl RefUnwindSafe for Mismatch
impl Send for Mismatch
impl Sync for Mismatch
impl Unpin for Mismatch
impl UnsafeUnpin for Mismatch
impl UnwindSafe for Mismatch
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