pub struct PqMismatch {
pub index: usize,
pub parity: PqParity,
}Expand description
A P/Q consistency failure: the first offending byte offset and which
parity it disagreed with (ISA-L’s i | 1 / i | 2 return, made typed).
Fields§
§index: usizeByte offset of the first mismatch.
parity: PqParityWhich parity vector disagreed.
Trait Implementations§
Source§impl Clone for PqMismatch
impl Clone for PqMismatch
Source§fn clone(&self) -> PqMismatch
fn clone(&self) -> PqMismatch
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PqMismatch
Source§impl Debug for PqMismatch
impl Debug for PqMismatch
impl Eq for PqMismatch
Source§impl PartialEq for PqMismatch
impl PartialEq for PqMismatch
impl StructuralPartialEq for PqMismatch
Auto Trait Implementations§
impl Freeze for PqMismatch
impl RefUnwindSafe for PqMismatch
impl Send for PqMismatch
impl Sync for PqMismatch
impl Unpin for PqMismatch
impl UnsafeUnpin for PqMismatch
impl UnwindSafe for PqMismatch
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