pub trait AsConflict {
// Required methods
fn is_conflict(&self) -> bool;
fn is_hard_conflict(&self) -> bool;
fn take_conflict(self) -> Option<ConflictError>;
}Expand description
Trait for error implementations that support a conflict error.
Required Methods§
Sourcefn is_conflict(&self) -> bool
fn is_conflict(&self) -> bool
Determine if this is a conflict error.
Sourcefn is_hard_conflict(&self) -> bool
fn is_hard_conflict(&self) -> bool
Determine if this is a hard conflict error.
Sourcefn take_conflict(self) -> Option<ConflictError>
fn take_conflict(self) -> Option<ConflictError>
Take an underlying conflict error.