pub enum CsdMultiplierError {
InvalidCharacter,
LengthMismatch,
EmptyCoefficients,
WidthMismatch,
}Expand description
Error type for CSD multiplier operations.
Variants§
InvalidCharacter
Invalid character found in CSD string (only ‘+’, ‘-’, ‘0’ allowed)
LengthMismatch
Length of CSD string doesn’t match expected length (max_power + 1)
EmptyCoefficients
At least one coefficient is required
WidthMismatch
All coefficients must share the same input_width and max_power
Trait Implementations§
Source§impl Clone for CsdMultiplierError
impl Clone for CsdMultiplierError
Source§fn clone(&self) -> CsdMultiplierError
fn clone(&self) -> CsdMultiplierError
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 moreSource§impl Debug for CsdMultiplierError
impl Debug for CsdMultiplierError
Source§impl PartialEq for CsdMultiplierError
impl PartialEq for CsdMultiplierError
Source§fn eq(&self, other: &CsdMultiplierError) -> bool
fn eq(&self, other: &CsdMultiplierError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CsdMultiplierError
Auto Trait Implementations§
impl Freeze for CsdMultiplierError
impl RefUnwindSafe for CsdMultiplierError
impl Send for CsdMultiplierError
impl Sync for CsdMultiplierError
impl Unpin for CsdMultiplierError
impl UnsafeUnpin for CsdMultiplierError
impl UnwindSafe for CsdMultiplierError
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