Struct Exception

pub struct Exception { /* private fields */ }

Exception thrown from an extern "C++" function.

Implementations

impl Exception

fn what(&self) -> &str

Trait Implementations

impl Debug for Exception

fn fmt(&self, f: &mut Formatter<'_>) -> Result

impl Display for Exception

fn fmt(&self, f: &mut Formatter<'_>) -> Result

impl Error for Exception

Auto Trait Implementations

impl Freeze for Exception

impl RefUnwindSafe for Exception

impl Send for Exception

impl Sync for Exception

impl Unpin for Exception

impl UnsafeUnpin for Exception

impl UnwindSafe for Exception

Blanket Implementations

impl<T> Any for Exception where T: 'static + ?Sized,

fn type_id(&self) -> TypeId

impl<T> Borrow<T> for Exception where T: ?Sized,

fn borrow(&self) -> &T

impl<T> BorrowMut<T> for Exception where T: ?Sized,

fn borrow_mut(&mut self) -> &mut T

impl<T> From<T> for Exception

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> ToString for Exception where T: Display + ?Sized,

fn to_string(&self) -> String

impl<T, U> Into<U> for Exception where U: From<T>,

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

impl<T, U> TryFrom<U> for Exception where U: Into<T>,

type Error = never;
fn try_from(value: U) -> Result<T, never>

impl<T, U> TryInto<U> for Exception where U: TryFrom<T>,

type Error = <U as TryFrom<T>>::Error;
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>