Enum calc::ast::AnnotatedError
source · [−]pub enum AnnotatedError<N> where
N: Debug + Calcable,
<N as Calcable>::Err: 'static, {
Calculation(<N as Calcable>::Err),
Format(Error),
}
Expand description
Error produced by AnnotatedExpr
.
Variants
Calculation(<N as Calcable>::Err)
Format(Error)
Trait Implementations
sourceimpl<N: Debug> Debug for AnnotatedError<N> where
N: Debug + Calcable,
<N as Calcable>::Err: 'static,
impl<N: Debug> Debug for AnnotatedError<N> where
N: Debug + Calcable,
<N as Calcable>::Err: 'static,
sourceimpl<N> Display for AnnotatedError<N> where
N: Debug + Calcable,
<N as Calcable>::Err: 'static,
impl<N> Display for AnnotatedError<N> where
N: Debug + Calcable,
<N as Calcable>::Err: 'static,
sourceimpl<N> Error for AnnotatedError<N> where
N: Debug + Calcable,
<N as Calcable>::Err: 'static,
Self: Debug + Display,
impl<N> Error for AnnotatedError<N> where
N: Debug + Calcable,
<N as Calcable>::Err: 'static,
Self: Debug + Display,
sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
👎 Deprecated since 1.42.0:
use the Display impl or to_string()
Auto Trait Implementations
impl<N> RefUnwindSafe for AnnotatedError<N> where
<N as Calcable>::Err: RefUnwindSafe,
impl<N> Send for AnnotatedError<N> where
<N as Calcable>::Err: Send,
impl<N> Sync for AnnotatedError<N> where
<N as Calcable>::Err: Sync,
impl<N> Unpin for AnnotatedError<N> where
<N as Calcable>::Err: Unpin,
impl<N> UnwindSafe for AnnotatedError<N> where
<N as Calcable>::Err: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more