DecryptionOutcome
public enum DecryptionOutcome
extension DecryptionOutcome: Sendable
Outcome of attempting to decrypt a message.
-
The message was successfully decrypted.
Declaration
Swift
case decrypted( /** * The decrypted message. */decryptedMessage: DecryptedMessage ) -
The message could not be processed yet, but is expected to be processable in the future.
Declaration
Swift
case deferred( /** * The reason the message needed to be deferred. */deferralReason: DeferralReason ) -
The message could not be processed.
This is a stable condition; reattempts will produce the same rejection in the future. Even so, this message’s rejection doesn’t indicate a fundamental error and is no reason to abort the transaction.
Declaration
Swift
case rejected( /** * The reason the message was rejected. */rejectionReason: RejectionReason )