Trait calc::types::CalcableError[][src]

pub trait CalcableError {
    fn unimplemented(operation: &'static str) -> Self;
fn history_out_of_bounds(
        kind: HistoryIndexKind,
        requested_index: usize,
        history_len: usize
    ) -> Self; }

A CalcableError can always have certain variants.

Required methods

fn unimplemented(operation: &'static str) -> Self[src]

fn history_out_of_bounds(
    kind: HistoryIndexKind,
    requested_index: usize,
    history_len: usize
) -> Self
[src]

Loading content...

Implementors

impl<T, E> CalcableError for BasicError<T, E> where
    T: Debug,
    E: 'static + Error
[src]

Loading content...