SessionsUnsupportedError
Mongo.SessionsUnsupportedError.swift:4struct SessionsUnsupportedErrorstruct SessionsUnsupportedErrorimport MongoA single-type module that declares the Mongo namespace.
import MongoDriverenum Mongoprotocol ExecutionPolicyprotocol Failpoint : BSONEncodable, Sendableprotocol ImplicitSessionCommand<Response> : Mongo.CommandA 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> : Mongo.Commandprotocol MonitorEventType : Sendableprotocol RetryableError : Errorprotocol TransactableCommand<Response> : Mongo.Command@frozen enum AbortionStatusAn outcome of aborting a Transaction.
struct AuthenticationErrorstruct AuthenticationUnsupportedErrorstruct ClusterTime@frozen enum CommitStatusAn outcome of committing a Transaction.
@frozen enum ConfigureFailpoint<Options> where Options : Mongo.FailpointThe MongoDB configureFailPoint command.
final class ConnectionA connection to a server that was created from a connection pool.
final actor ConnectionPoolA thread-safe reference type that maintains connections to a particular mongod or mongos host, services connection requests, and serves as a delegate for a server monitoring task.
struct ConnectionPoolDrainedError@frozen struct ConnectionPoolSettingsstruct ConnectionPoolTimeoutErrorstruct Cursor<BatchElement> where BatchElement : BSONDecodable, BatchElement : Sendable@frozen struct CursorIdentifierErrorstruct CursorIteratorA cursor iterable is an immutable (but non-Sendable) structure containing all of the information needed to get(more:) data from a server.
enum CursorLifecycle@frozen struct Deadlinesfinal actor DeploymentA type that models the state of a MongoDB deployment.
struct DeploymentStateError<Underlying> where Underlying : Error@frozen struct DriverTimeoutErrorA command was timed-out by the driver because the its deadline has already passed.
struct FailCommandSee: https://github.com/mongodb/mongo/wiki/The-%22failCommand%22-fail-point
@frozen struct GetMore<Element> where Element : BSONDecodable, Element : Sendable@frozen struct KillCursorsstruct KillCursorsResponse@frozen struct MonitorEvent<Type> where Type : Mongo.MonitorEventType@frozen enum MonitorServicestruct PingThe MongoDB ping command.
enum PolicyError@frozen enum ReadPreferencestruct ReadPreferenceErrorstruct RefreshSessionsstruct ReplicaSetConfigurationstruct ReplicaSetGetConfiguration@frozen struct Reply@frozen enum ReplyErrorstruct SASLConversationErrorstruct ServerErrorfinal class SessionTracks a session on a MongoDB server. Sessions have reference semantics.
@frozen struct SessionIdentifierstruct SessionLabelsLabels to be added to a command run as part of a logical session.
final actor SessionPoolAn interface for creating driver sessions.
final class SnapshotSession@frozen struct TopologyVersionstruct Transactionstruct TransactionInProgressError@frozen enum TransactionLabels@frozen enum TransactionPhase@frozen enum TransactionResult<Success>@frozen struct TransactionStatestruct TransactionsUnsupportedErrorstruct VersionRequirementErrortypealias SourceLocation = (file: StaticString, line: Int)protocol Sendableprotocol CopyableA type whose values can be implicitly or explicitly copied.
protocol CustomStringConvertibleA type with a customized textual representation.
protocol EquatableA type that can be compared for value equality.
protocol Error : SendableA type representing an error value that can be thrown.
protocol Escapableinit() var description: String { get }static func != (lhs: Self, rhs: Self) -> Bool Returns a Boolean value indicating whether two values are not equal.
static func == (lhs: Self, rhs: any Error) -> Bool func headline(plaintext: Bool = true) -> String