pub struct PanickingErrorApi;
Expand description
An error handler that simply panics whenever signal_error
is called.
Especially useful for unit tests.
Implements ErrorApi
.
Trait Implementations§
Source§impl ErrorApi for PanickingErrorApi
impl ErrorApi for PanickingErrorApi
type ErrorApiImpl = PanickingErrorApiImpl
fn error_api_impl() -> Self::ErrorApiImpl
Source§impl HandleTypeInfo for PanickingErrorApi
impl HandleTypeInfo for PanickingErrorApi
type ManagedBufferHandle = i32
type BigIntHandle = i32
type BigFloatHandle = i32
type EllipticCurveHandle = i32
type ManagedMapHandle = i32
Auto Trait Implementations§
impl Freeze for PanickingErrorApi
impl RefUnwindSafe for PanickingErrorApi
impl Send for PanickingErrorApi
impl Sync for PanickingErrorApi
impl Unpin for PanickingErrorApi
impl UnwindSafe for PanickingErrorApi
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