pub enum CordicError {
ConfigError(ConfigError),
ArgumentLengthIncorrect,
ResultLengthNotEnough,
NumberOutOfRange(NumberOutOfRange),
ArgError(ArgError),
}
Expand description
Error for Cordic
Variants§
ConfigError(ConfigError)
Config error
ArgumentLengthIncorrect
Argument length is incorrect
ResultLengthNotEnough
Result buffer length error
NumberOutOfRange(NumberOutOfRange)
Input value is out of range for Q1.x format
ArgError(ArgError)
Argument error
Trait Implementations§
source§impl Debug for CordicError
impl Debug for CordicError
source§impl Format for CordicError
impl Format for CordicError
source§impl From<ArgError> for CordicError
impl From<ArgError> for CordicError
source§impl From<ConfigError> for CordicError
impl From<ConfigError> for CordicError
source§fn from(value: ConfigError) -> Self
fn from(value: ConfigError) -> Self
Converts to this type from the input type.
source§impl From<NumberOutOfRange> for CordicError
impl From<NumberOutOfRange> for CordicError
source§fn from(value: NumberOutOfRange) -> Self
fn from(value: NumberOutOfRange) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for CordicError
impl RefUnwindSafe for CordicError
impl Send for CordicError
impl Sync for CordicError
impl Unpin for CordicError
impl UnwindSafe for CordicError
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