Struct jaffi_support::exceptions::Exception
source · [−]pub struct Exception<'j, T: Throwable> { /* private fields */ }
Expand description
A type that represents a known Exception type from Java.
Implementations
sourceimpl<'j, T: Throwable + Copy> Exception<'j, T>
impl<'j, T: Throwable + Copy> Exception<'j, T>
pub fn exception(&self) -> JThrowable<'j>
pub fn throwable(&self) -> T
Trait Implementations
Auto Trait Implementations
impl<'j, T> RefUnwindSafe for Exception<'j, T> where
T: RefUnwindSafe,
impl<'j, T> !Send for Exception<'j, T>
impl<'j, T> !Sync for Exception<'j, T>
impl<'j, T> Unpin for Exception<'j, T> where
T: Unpin,
impl<'j, T> UnwindSafe for Exception<'j, T> where
T: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more