[][src]Struct mtots::Exception

pub struct Exception { /* fields omitted */ }

Implementations

impl Exception[src]

pub fn new(kind: Rc<ExceptionKind>, args: Vec<Value>) -> Exception[src]

pub fn matches(&self, kind: &ExceptionKind) -> bool[src]

pub fn kind(&self) -> &Rc<ExceptionKind>[src]

pub fn args(&self) -> &Vec<Value>[src]

Trait Implementations

impl Debug for Exception[src]

impl Display for Exception[src]

Auto Trait Implementations

impl !RefUnwindSafe for Exception

impl !Send for Exception

impl !Sync for Exception

impl Unpin for Exception

impl !UnwindSafe for Exception

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.