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