pub enum CheckWriteError {
RequestFailed {
source: Error,
},
CheckFailed {
source: Error,
},
OperationFailed {
index: usize,
source: Error,
},
}
Expand description
Error for CheckWriter::commit.
Variants§
Trait Implementations§
source§impl Clone for CheckWriteError
impl Clone for CheckWriteError
source§fn clone(&self) -> CheckWriteError
fn clone(&self) -> CheckWriteError
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 CheckWriteError
impl Debug for CheckWriteError
source§impl Display for CheckWriteError
impl Display for CheckWriteError
source§impl Error for CheckWriteError
impl Error for CheckWriteError
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<CheckWriteError> for Error
impl From<CheckWriteError> for Error
source§fn from(err: CheckWriteError) -> Self
fn from(err: CheckWriteError) -> Self
Converts to this type from the input type.
source§impl From<Error> for CheckWriteError
impl From<Error> for CheckWriteError
source§impl From<MultiWriteError> for CheckWriteError
impl From<MultiWriteError> for CheckWriteError
source§fn from(err: MultiWriteError) -> Self
fn from(err: MultiWriteError) -> Self
Converts to this type from the input type.
source§impl PartialEq<CheckWriteError> for CheckWriteError
impl PartialEq<CheckWriteError> for CheckWriteError
source§fn eq(&self, other: &CheckWriteError) -> bool
fn eq(&self, other: &CheckWriteError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for CheckWriteError
impl StructuralEq for CheckWriteError
impl StructuralPartialEq for CheckWriteError
Auto Trait Implementations§
impl RefUnwindSafe for CheckWriteError
impl Send for CheckWriteError
impl Sync for CheckWriteError
impl Unpin for CheckWriteError
impl UnwindSafe for CheckWriteError
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
source§impl<T> ToCompactString for Twhere
T: Display,
impl<T> ToCompactString for Twhere T: Display,
source§fn to_compact_string(&self) -> CompactString
fn to_compact_string(&self) -> CompactString
Converts the given value to a
CompactString
. Read more