Enum mongodb::options::Acknowledgment [−][src]
Expand description
The type of the w
field in a WriteConcern
.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Nodes(u32)
Requires acknowledgement that the write has reached the specified number of nodes.
Note: specifying 0 here indicates that the write concern is unacknowledged, which is currently unsupported and will result in an error during operation execution.
Requires acknowledgement that the write has reached the majority of nodes.
Custom(String)
Requires acknowledgement according to the given custom write concern. See here for more information.
Trait Implementations
Deserialize this value from the given Serde deserializer. Read more
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 Acknowledgment
impl Send for Acknowledgment
impl Sync for Acknowledgment
impl Unpin for Acknowledgment
impl UnwindSafe for Acknowledgment
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self
pub fn vzip(self) -> V