[−][src]Enum mongodb_cwal::error::Error
The error type for MongoDB operations.
Variants
IoError(Error)
I/O operation errors of Read
, Write
, Seek
, and associated traits.
EncoderError(EncoderError)
A BSON struct could not be encoded.
DecoderError(DecoderError)
A BSON struct could not be decoded.
OIDError(Error)
An ObjectId could not be generated.
FromHexError(DecodeError)
A hexadecimal string could not be converted to bytes.
WriteError(WriteException)
A single-write operation failed.
BulkWriteError(BulkWriteException)
A bulk-write operation failed due to one or more lower-level write-related errors.
ArgumentError(String)
An invalid function or operational argument was provided.
OperationError(String)
A database operation failed to send or receive a reply.
ResponseError(String)
A database operation returned an invalid reply.
A cursor operation failed to return a cursor.
The application failed to secure a mutex due to a poisoned lock.
CodedError(ErrorCode)
A server error with a given code.
The client was unable to emit the events to the listeners due to a poisoned lock;
all event listeners were dropped, so they will have to be registered again. If the
client is unable to emit a failure result, the error it failed to report is bundled
into the EventListenerError
.
MaliciousServerError(MaliciousServerErrorType)
The server that the client is attempting to authenticate to does not actually have the user's authentication information stored.
DefaultError(String)
A standard error with a string description; a more specific error should generally be used.
DNSResolutionError(ResolveError)
Error related to DNS resolution
Trait Implementations
impl<'a> From<Error> for Error
[src]
impl<'a> From<&'a str> for Error
[src]
impl From<String> for Error
[src]
impl From<WriteException> for Error
[src]
fn from(err: WriteException) -> Error
[src]
impl From<BulkWriteException> for Error
[src]
fn from(err: BulkWriteException) -> Error
[src]
impl From<EncoderError> for Error
[src]
fn from(err: EncoderError) -> Error
[src]
impl From<DecoderError> for Error
[src]
fn from(err: DecoderError) -> Error
[src]
impl From<Error> for Error
[src]
impl From<DecodeError> for Error
[src]
fn from(err: DecodeError) -> Error
[src]
impl From<Error> for Error
[src]
impl<T> From<PoisonError<T>> for Error
[src]
fn from(_: PoisonError<T>) -> Error
[src]
impl From<ResolveError> for Error
[src]
fn from(err: ResolveError) -> Error
[src]
impl Debug for Error
[src]
impl Display for Error
[src]
impl Error for Error
[src]
Auto Trait Implementations
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl !UnwindSafe for Error
impl !RefUnwindSafe for Error
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = !
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
U: TryFrom<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<E> Fail for E where
E: 'static + Error + Send + Sync,
E: 'static + Error + Send + Sync,
fn name(&self) -> Option<&str>
fn cause(&self) -> Option<&(dyn Fail + 'static)>
fn backtrace(&self) -> Option<&Backtrace>
fn context<D>(self, context: D) -> Context<D> where
D: Display + Send + Sync + 'static,
D: Display + Send + Sync + 'static,
fn compat(self) -> Compat<Self>
impl<T> AsFail for T where
T: Fail,
T: Fail,
fn as_fail(&self) -> &(dyn Fail + 'static)
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,