Enum napi_h::threadsafe_function::ErrorStrategy::Fatal
source · pub enum Fatal {}
Expand description
Input errors (including conversion errors) are deemed fatal:
they can thus cause a panic!
or abort the process.
The callee thus is not expected to have to deal with that extra error
parameter, which is thus not added.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Fatal
impl RefUnwindSafe for Fatal
impl Send for Fatal
impl Sync for Fatal
impl Unpin for Fatal
impl UnwindSafe for Fatal
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