Enum embassy_stm32::cordic::CordicError
source ยท 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