Enum calc::ast::AnnotatedError [−][src]
Error produced by AnnotatedExpr
.
Variants
Format(Error)
Trait Implementations
impl<N: Debug> Debug for AnnotatedError<N> where
N: Debug + Calcable,
<N as Calcable>::Err: 'static,
[src]
N: Debug + Calcable,
<N as Calcable>::Err: 'static,
impl<N> Display for AnnotatedError<N> where
N: Debug + Calcable,
<N as Calcable>::Err: 'static,
[src]
N: Debug + Calcable,
<N as Calcable>::Err: 'static,
impl<N> Error for AnnotatedError<N> where
N: Debug + Calcable,
<N as Calcable>::Err: 'static,
[src]
N: Debug + Calcable,
<N as Calcable>::Err: 'static,
fn source(&self) -> Option<&(dyn Error + 'static)>
[src]
pub fn backtrace(&self) -> Option<&Backtrace>
[src]
pub fn description(&self) -> &str
1.0.0[src]
pub fn cause(&self) -> Option<&dyn Error>
1.0.0[src]
impl<N> From<AnnotatedError<N>> for Error<N> where
N: Debug + Calcable,
<N as Calcable>::Err: 'static,
[src]
N: Debug + Calcable,
<N as Calcable>::Err: 'static,
fn from(err: AnnotatedError<N>) -> Self
[src]
impl<N> From<Error> for AnnotatedError<N> where
N: Debug + Calcable,
<N as Calcable>::Err: 'static,
[src]
N: Debug + Calcable,
<N as Calcable>::Err: 'static,
Auto Trait Implementations
impl<N> RefUnwindSafe for AnnotatedError<N> where
<N as Calcable>::Err: RefUnwindSafe,
<N as Calcable>::Err: RefUnwindSafe,
impl<N> Send for AnnotatedError<N> where
<N as Calcable>::Err: Send,
<N as Calcable>::Err: Send,
impl<N> Sync for AnnotatedError<N> where
<N as Calcable>::Err: Sync,
<N as Calcable>::Err: Sync,
impl<N> Unpin for AnnotatedError<N> where
<N as Calcable>::Err: Unpin,
<N as Calcable>::Err: Unpin,
impl<N> UnwindSafe for AnnotatedError<N> where
<N as Calcable>::Err: UnwindSafe,
<N as Calcable>::Err: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,