Struct oasis_core_runtime::common::panic::AbortOnPanic
source · pub struct AbortOnPanic;
Expand description
A guard that will abort the process if dropped while panicking.
This is to ensure that the runtime will terminate in case there is a panic encountered during dispatch and the runtime is built with a non-abort panic handler.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AbortOnPanic
impl RefUnwindSafe for AbortOnPanic
impl Send for AbortOnPanic
impl Sync for AbortOnPanic
impl Unpin for AbortOnPanic
impl UnwindSafe for AbortOnPanic
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more