pub enum ErrorHandlingStrategy {
Panic,
ReturnError,
LogAndContinue,
CustomHandler(String),
}Variants§
Trait Implementations§
Source§impl Clone for ErrorHandlingStrategy
impl Clone for ErrorHandlingStrategy
Source§fn clone(&self) -> ErrorHandlingStrategy
fn clone(&self) -> ErrorHandlingStrategy
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ErrorHandlingStrategy
impl Debug for ErrorHandlingStrategy
Source§impl Default for ErrorHandlingStrategy
impl Default for ErrorHandlingStrategy
Source§fn default() -> ErrorHandlingStrategy
fn default() -> ErrorHandlingStrategy
Returns the “default value” for a type. Read more
Source§impl PartialEq for ErrorHandlingStrategy
impl PartialEq for ErrorHandlingStrategy
impl StructuralPartialEq for ErrorHandlingStrategy
Auto Trait Implementations§
impl Freeze for ErrorHandlingStrategy
impl RefUnwindSafe for ErrorHandlingStrategy
impl Send for ErrorHandlingStrategy
impl Sync for ErrorHandlingStrategy
impl Unpin for ErrorHandlingStrategy
impl UnwindSafe for ErrorHandlingStrategy
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