pub enum ErrHandling {
None,
ThrowResultErr,
ResultCatchHandler,
}
Expand description
Method of error handling
Variants§
None
Do no special handling of errors, requiring users to return objects that represent errors as represented in WIT
ThrowResultErr
Require throwing of result error objects
ResultCatchHandler
Catch thrown errors and convert them into result<t,e> error variants
Trait Implementations§
Source§impl PartialEq for ErrHandling
impl PartialEq for ErrHandling
impl StructuralPartialEq for ErrHandling
Auto Trait Implementations§
impl Freeze for ErrHandling
impl RefUnwindSafe for ErrHandling
impl Send for ErrHandling
impl Sync for ErrHandling
impl Unpin for ErrHandling
impl UnwindSafe for ErrHandling
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