pub enum LongEccEncodeError {
BufferError(BufferError),
InvalidParity(u8),
InvalidSegmentParityRatio(u8, u8),
LongEccToBytesError(LongEccToBytesError),
RSConstructorError(RSConstructorError),
RSGenerateParityError(RSGenerateParityError),
TryFromIntError(TryFromIntError),
}Variants§
BufferError(BufferError)
InvalidParity(u8)
InvalidSegmentParityRatio(u8, u8)
LongEccToBytesError(LongEccToBytesError)
RSConstructorError(RSConstructorError)
RSGenerateParityError(RSGenerateParityError)
TryFromIntError(TryFromIntError)
Trait Implementations§
Source§impl Clone for LongEccEncodeError
impl Clone for LongEccEncodeError
Source§fn clone(&self) -> LongEccEncodeError
fn clone(&self) -> LongEccEncodeError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LongEccEncodeError
impl Debug for LongEccEncodeError
Source§impl Display for LongEccEncodeError
impl Display for LongEccEncodeError
Source§impl Error for LongEccEncodeError
impl Error for LongEccEncodeError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl From<BufferError> for LongEccEncodeError
impl From<BufferError> for LongEccEncodeError
Source§fn from(source: BufferError) -> Self
fn from(source: BufferError) -> Self
Converts to this type from the input type.
Source§impl From<LongEccEncodeError> for EncodeError
impl From<LongEccEncodeError> for EncodeError
Source§fn from(source: LongEccEncodeError) -> Self
fn from(source: LongEccEncodeError) -> Self
Converts to this type from the input type.
Source§impl From<LongEccToBytesError> for LongEccEncodeError
impl From<LongEccToBytesError> for LongEccEncodeError
Source§fn from(source: LongEccToBytesError) -> Self
fn from(source: LongEccToBytesError) -> Self
Converts to this type from the input type.
Source§impl From<RSConstructorError> for LongEccEncodeError
impl From<RSConstructorError> for LongEccEncodeError
Source§fn from(source: RSConstructorError) -> Self
fn from(source: RSConstructorError) -> Self
Converts to this type from the input type.
Source§impl From<RSGenerateParityError> for LongEccEncodeError
impl From<RSGenerateParityError> for LongEccEncodeError
Source§fn from(source: RSGenerateParityError) -> Self
fn from(source: RSGenerateParityError) -> Self
Converts to this type from the input type.
Source§impl From<TryFromIntError> for LongEccEncodeError
impl From<TryFromIntError> for LongEccEncodeError
Source§fn from(source: TryFromIntError) -> Self
fn from(source: TryFromIntError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for LongEccEncodeError
impl PartialEq for LongEccEncodeError
impl Eq for LongEccEncodeError
impl StructuralPartialEq for LongEccEncodeError
Auto Trait Implementations§
impl Freeze for LongEccEncodeError
impl RefUnwindSafe for LongEccEncodeError
impl Send for LongEccEncodeError
impl Sync for LongEccEncodeError
impl Unpin for LongEccEncodeError
impl UnwindSafe for LongEccEncodeError
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