Enum napi::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
sourceimpl ErrorStrategy for Fatal
impl ErrorStrategy for Fatal
Auto Trait Implementations
impl RefUnwindSafe for Fatal
impl Send for Fatal
impl Sync for Fatal
impl Unpin for Fatal
impl UnwindSafe for Fatal
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