Enumerationswift-mongodb 0.27.0MongoDriver->Mongo
ConfigureFailpoint
The MongoDB configureFailPoint
command.
@frozen enum ConfigureFailpoint<Options> where Options : Mongo.Failpoint
Cases
Other members in extension
View members
Hide members
This section is hidden by default because it contains too many (58) members.
Protocols
protocol ExecutionPolicy
protocol Failpoint
protocol ImplicitSessionCommand<Response>
A type that can encode a MongoDB command that can be run as part of a session, which can be implicitly generated if the command is sent to a deployment at large.
protocol IterableCommand<Element>
protocol MonitorEventType
protocol RetryableError
protocol TransactableCommand<Response>
Types
enum AbortionStatus
An outcome of aborting a
Transaction
.struct AuthenticationError
struct AuthenticationUnsupportedError
struct ClusterTime
enum CommitStatus
An outcome of committing a
Transaction
.class Connection
A connection to a server that was created from a connection pool.
actor ConnectionPool
A thread-safe reference type that maintains connections to a particular
mongod
ormongos
host, services connection requests, and serves as a delegate for a server monitoring task.struct ConnectionPoolDrainedError
struct ConnectionPoolSettings
struct ConnectionPoolTimeoutError
struct Cursor<BatchElement>
struct CursorIdentifierError
struct CursorIterator
A cursor iterable is an immutable (but non-
Sendable
) structure containing all of the information needed toget(more:)
data from a server.enum CursorLifecycle
struct Deadlines
actor Deployment
A type that models the state of a MongoDB deployment.
struct DeploymentStateError<Underlying>
struct DriverTimeoutError
A command was timed-out by the driver because the its deadline has already passed.
struct FailCommand
See: https://github.com/mongodb/mongo/wiki/The-%22failCommand%22-fail-point
struct GetMore<Element>
struct KillCursors
struct KillCursorsResponse
struct MonitorEvent<Type>
enum MonitorService
struct Ping
The MongoDB
ping
command.enum PolicyError
enum ReadPreference
struct ReadPreferenceError
struct RefreshSessions
struct ReplicaSetConfiguration
struct ReplicaSetGetConfiguration
struct Reply
enum ReplyError
struct SASLConversationError
struct ServerError
class Session
Tracks a session on a MongoDB server. Sessions have reference semantics.
struct SessionIdentifier
struct SessionLabels
Labels to be added to a command run as part of a logical session.
actor SessionPool
An interface for creating driver sessions.
struct SessionsUnsupportedError
class SnapshotSession
struct TopologyVersion
struct Transaction
struct TransactionInProgressError
enum TransactionLabels
enum TransactionPhase
enum TransactionResult<Success>
struct TransactionState
struct TransactionsUnsupportedError
struct VersionRequirementError
Typealiases
Citizens in MongoDriver
Conformances
Citizens in MongoDriver
where Options:Mongo.Failpoint
Conformances
protocol Command<Response>
A type that represents a MongoDB command. All public command types (and command protocols) ultimately inherit from this protocol.
protocol Copyable
A type whose values can be implicitly or explicitly copied.
protocol Escapable
protocol ImplicitSessionCommand<Response>
A type that can encode a MongoDB command that can be run as part of a session, which can be implicitly generated if the command is sent to a deployment at large.
Typealiases
typealias Database
ConfigureFailpoint
must be run against to theadmin
database.
Type members
static var type: Mongo.CommandType
The string
"configureFailPoint"
. Note that the capitalization is different from that of the command type.static func once(Options
) -> Mongo.ConfigureFailpoint<Options>
Instance members
Type features
static var autocommits: Bool
Indicates if this command autocommits, meaning it supports retryable writes.
static func decode(reply: BSON.DocumentDecoder<BSON.Key>
) Does nothing, ignoring the supplied decoding container.