Enum mongo_driver::MongoErrorCode
[−]
[src]
pub enum MongoErrorCode { Blank, StreamInvalidType, StreamInvalidState, StreamNameResolution, StreamSocket, StreamConnect, StreamNotEstablished, ClientNotReady, ClientTooBig, ClientTooSmall, ClientGetnonce, ClientAuthenticate, ClientNoAcceptablePeer, ClientInExhaust, ProtocolInvalidReply, ProtocolBadWireVersion, CursorInvalidCursor, QueryFailure, BsonInvalid, MatcherInvalid, NamespaceInvalid, NamespaceInvalidFilterType, CommandInvalidArg, CollectionInsertFailed, CollectionUpdateFailed, CollectionDeleteFailed, CollectionDoesNotExist, GridfsInvalidFilename, ScramNotDone, ScramProtocolError, QueryCommandNotFound, QueryNotTailable, WriteConcernError, DuplicateKey, Unknown(u32), }
MongoDB error code.
Variants
Blank
StreamInvalidType
StreamInvalidState
StreamNameResolution
StreamSocket
StreamConnect
StreamNotEstablished
ClientNotReady
ClientTooBig
ClientTooSmall
ClientGetnonce
ClientAuthenticate
ClientNoAcceptablePeer
ClientInExhaust
ProtocolInvalidReply
ProtocolBadWireVersion
CursorInvalidCursor
QueryFailure
BsonInvalid
MatcherInvalid
NamespaceInvalid
NamespaceInvalidFilterType
CommandInvalidArg
CollectionInsertFailed
CollectionUpdateFailed
CollectionDeleteFailed
CollectionDoesNotExist
GridfsInvalidFilename
ScramNotDone
ScramProtocolError
QueryCommandNotFound
QueryNotTailable
WriteConcernError
DuplicateKey
Unknown(u32)
Trait Implementations
impl Debug for MongoErrorCode
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl PartialEq for MongoErrorCode
[src]
fn eq(&self, __arg_0: &MongoErrorCode) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &MongoErrorCode) -> bool
[src]
This method tests for !=
.