Trait AsConflict

Source
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§

Source

fn is_conflict(&self) -> bool

Determine if this is a conflict error.

Source

fn is_hard_conflict(&self) -> bool

Determine if this is a hard conflict error.

Source

fn take_conflict(self) -> Option<ConflictError>

Take an underlying conflict error.

Implementors§