WriteResult

public enum WriteResult

Indicates a successful, cancelled, or failed write attempt.

  • The write is successful.

    Declaration

    Swift

    case success
  • The write has failed unexpectedly with an error.

    Declaration

    Swift

    case failure(Error)