pub struct PanickingHandler;Expand description
A no-op handler: every ecall exits with Panic. Useful as a
default for tests where the engine isn’t supposed to encounter
ecalls.
Trait Implementations§
Source§impl Debug for PanickingHandler
impl Debug for PanickingHandler
Source§impl Default for PanickingHandler
impl Default for PanickingHandler
Source§fn default() -> PanickingHandler
fn default() -> PanickingHandler
Returns the “default value” for a type. Read more
Source§impl EcallHandler for PanickingHandler
impl EcallHandler for PanickingHandler
Auto Trait Implementations§
impl Freeze for PanickingHandler
impl RefUnwindSafe for PanickingHandler
impl Send for PanickingHandler
impl Sync for PanickingHandler
impl Unpin for PanickingHandler
impl UnsafeUnpin for PanickingHandler
impl UnwindSafe for PanickingHandler
Blanket Implementations§
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