Enum mongodb::options::ReadConcernLevel [−][src]
#[non_exhaustive]
pub enum ReadConcernLevel {
Local,
Majority,
Linearizable,
Available,
Snapshot,
Custom(String),
}
Expand description
Specifies the level consistency and isolation properties of a given ReadCocnern
.
See the documentation here for more information about read concerns.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
See the specific documentation for this read concern level here.
See the specific documentation for this read concern level here.
See the specific documentation for this read concern level here.
See the specific documentation for this read concern level here.
See the specific documentation for this read concern level here.
Custom(String)
Specify a custom read concern level. This is present to provide forwards compatibility with any future read concerns which may be added to new versions of MongoDB.
Tuple Fields of Custom
0: String
Trait Implementations
Deserialize this value from the given Serde deserializer. Read more
Performs the conversion.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for ReadConcernLevel
impl Send for ReadConcernLevel
impl Sync for ReadConcernLevel
impl Unpin for ReadConcernLevel
impl UnwindSafe for ReadConcernLevel
Blanket Implementations
Mutably borrows from an owned value. Read more