Enum calc::types::BasicError [−][src]
Variants
Arithmetic(ArithmeticError)
NotImplemented(&'static str, PhantomData<T>)
HistoryOOB(HistoryIndexKind, usize, usize)
Trait Implementations
impl<T, E> CalcableError for BasicError<T, E> where
T: Debug,
E: 'static + Error,
[src]
T: Debug,
E: 'static + Error,
fn unimplemented(operation: &'static str) -> Self
[src]
fn history_out_of_bounds(
kind: HistoryIndexKind,
requested_index: usize,
history_len: usize
) -> Self
[src]
kind: HistoryIndexKind,
requested_index: usize,
history_len: usize
) -> Self
impl<T: Debug, E: Debug + 'static + Error> Debug for BasicError<T, E>
[src]
impl<T: Debug, E: 'static + Error> Display for BasicError<T, E>
[src]
impl<T: Debug, E: 'static + Error> Error for BasicError<T, E>
[src]
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<T: Debug, E: 'static + Error> From<ArithmeticError> for BasicError<T, E>
[src]
fn from(source: ArithmeticError) -> Self
[src]
Auto Trait Implementations
impl<T, E> RefUnwindSafe for BasicError<T, E> where
E: RefUnwindSafe,
T: RefUnwindSafe,
E: RefUnwindSafe,
T: RefUnwindSafe,
impl<T, E> Send for BasicError<T, E> where
E: Send,
T: Send,
E: Send,
T: Send,
impl<T, E> Sync for BasicError<T, E> where
E: Sync,
T: Sync,
E: Sync,
T: Sync,
impl<T, E> Unpin for BasicError<T, E> where
E: Unpin,
T: Unpin,
E: Unpin,
T: Unpin,
impl<T, E> UnwindSafe for BasicError<T, E> where
E: UnwindSafe,
T: UnwindSafe,
E: UnwindSafe,
T: 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>,