Struct eventually::version::ConflictError
source · pub struct ConflictError {
pub expected: Version,
pub actual: Version,
}
Expand description
This error is returned by a function when a version conflict error has been detected.
Fields§
§expected: Version
The Version value that was expected when calling the function that failed.
actual: Version
The actual Version value, which mismatch caused this error.
Trait Implementations§
source§impl Clone for ConflictError
impl Clone for ConflictError
source§fn clone(&self) -> ConflictError
fn clone(&self) -> ConflictError
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 ConflictError
impl Debug for ConflictError
source§impl Display for ConflictError
impl Display for ConflictError
source§impl Error for ConflictError
impl Error for ConflictError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<ConflictError> for AppendError
impl From<ConflictError> for AppendError
source§fn from(source: ConflictError) -> Self
fn from(source: ConflictError) -> Self
Converts to this type from the input type.
source§impl From<ConflictError> for SaveError
impl From<ConflictError> for SaveError
source§fn from(source: ConflictError) -> Self
fn from(source: ConflictError) -> Self
Converts to this type from the input type.
source§impl PartialEq for ConflictError
impl PartialEq for ConflictError
source§fn eq(&self, other: &ConflictError) -> bool
fn eq(&self, other: &ConflictError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ConflictError
impl Eq for ConflictError
impl StructuralPartialEq for ConflictError
Auto Trait Implementations§
impl RefUnwindSafe for ConflictError
impl Send for ConflictError
impl Sync for ConflictError
impl Unpin for ConflictError
impl UnwindSafe for ConflictError
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