Struct Exception

struct Exception { ... }

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

Implementations

impl Exception

fn what(self: &Self) -> &str

impl Debug for Exception

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

impl Display for Exception

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

impl Error for Exception

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

impl<T> Any for Exception

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for Exception

fn borrow(self: &Self) -> &T

impl<T> BorrowMut for Exception

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

impl<T> From for Exception

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> ToString for Exception

fn to_string(self: &Self) -> String

impl<T, U> Into for Exception

fn into(self: 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 for Exception

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

impl<T, U> TryInto for Exception

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