pub enum ValidationError {
LessThanMinimalLength,
NetworkBytesMismatch,
PartNumHigherThanTotalCount,
IndicatedLenHigherThanMaxLen,
IndicatedLenDifferentFromActualLen,
IncorrectCrc(u16, u16),
}
Variants§
LessThanMinimalLength
NetworkBytesMismatch
PartNumHigherThanTotalCount
IndicatedLenHigherThanMaxLen
IndicatedLenDifferentFromActualLen
IncorrectCrc(u16, u16)
Trait Implementations§
source§impl Debug for ValidationError
impl Debug for ValidationError
source§impl PartialEq for ValidationError
impl PartialEq for ValidationError
source§fn eq(&self, other: &ValidationError) -> bool
fn eq(&self, other: &ValidationError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ValidationError
Auto Trait Implementations§
impl RefUnwindSafe for ValidationError
impl Send for ValidationError
impl Sync for ValidationError
impl Unpin for ValidationError
impl UnwindSafe for ValidationError
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