Enum wick_config::config::ErrorBehavior
source · pub enum ErrorBehavior {
Commit,
Rollback,
Ignore,
}Expand description
What to do when an error occurs.
Variants§
Commit
The operation will commit what has succeeded.
Rollback
The operation will rollback changes.
Ignore
Errors will be ignored.
Trait Implementations§
source§impl Clone for ErrorBehavior
impl Clone for ErrorBehavior
source§fn clone(&self) -> ErrorBehavior
fn clone(&self) -> ErrorBehavior
Returns a copy 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 ErrorBehavior
impl Debug for ErrorBehavior
source§impl Default for ErrorBehavior
impl Default for ErrorBehavior
source§impl Display for ErrorBehavior
impl Display for ErrorBehavior
source§impl PartialEq<ErrorBehavior> for ErrorBehavior
impl PartialEq<ErrorBehavior> for ErrorBehavior
source§fn eq(&self, other: &ErrorBehavior) -> bool
fn eq(&self, other: &ErrorBehavior) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for ErrorBehavior
impl Serialize for ErrorBehavior
source§impl TryFrom<ErrorBehavior> for ErrorBehavior
impl TryFrom<ErrorBehavior> for ErrorBehavior
§type Error = ManifestError
type Error = ManifestError
The type returned in the event of a conversion error.
source§impl TryFrom<ErrorBehavior> for ErrorBehavior
impl TryFrom<ErrorBehavior> for ErrorBehavior
§type Error = ManifestError
type Error = ManifestError
The type returned in the event of a conversion error.
impl Copy for ErrorBehavior
impl StructuralPartialEq for ErrorBehavior
Auto Trait Implementations§
impl RefUnwindSafe for ErrorBehavior
impl Send for ErrorBehavior
impl Sync for ErrorBehavior
impl Unpin for ErrorBehavior
impl UnwindSafe for ErrorBehavior
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