pub enum RsError {
BufferTooShort {
required: usize,
provided: usize,
},
TooManyErrors,
InvalidInterleaveDepth(u8),
}Expand description
Errors from Reed-Solomon operations.
Variants§
BufferTooShort
Buffer too short.
TooManyErrors
Too many errors to correct.
InvalidInterleaveDepth(u8)
Invalid interleave depth (must be 1..=5).
Trait Implementations§
impl Copy for RsError
impl Eq for RsError
impl StructuralPartialEq for RsError
Auto Trait Implementations§
impl Freeze for RsError
impl RefUnwindSafe for RsError
impl Send for RsError
impl Sync for RsError
impl Unpin for RsError
impl UnsafeUnpin for RsError
impl UnwindSafe for RsError
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