pub enum TurboQuantError {
InvalidDimension(usize),
DimensionMismatch {
expected: usize,
actual: usize,
},
}Expand description
Errors from the Turbo4 codec.
Variants§
InvalidDimension(usize)
Dimension must be even and ≥ 2 (the two-run nibble layout splits D in half).
DimensionMismatch
Input vector length differs from the codec dimension.
Trait Implementations§
Source§impl Debug for TurboQuantError
impl Debug for TurboQuantError
Source§impl Display for TurboQuantError
impl Display for TurboQuantError
Source§impl Error for TurboQuantError
impl Error for TurboQuantError
1.30.0 · 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()
Auto Trait Implementations§
impl Freeze for TurboQuantError
impl RefUnwindSafe for TurboQuantError
impl Send for TurboQuantError
impl Sync for TurboQuantError
impl Unpin for TurboQuantError
impl UnsafeUnpin for TurboQuantError
impl UnwindSafe for TurboQuantError
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