Skip to content

Enumeration

BodyStreamResult

enum BodyStreamResult

Topics

Enumeration Cases

  • case buffer(ByteBuffer)
    A normal data chunk. There will be 0 or more of these.
  • case end
    Indicates the stream has completed. There will be 0 or 1 of these. 0 if the stream errors.
  • case error(any Error)
    Indicates an error. There will be 0 or 1 of these. 0 if the stream closes cleanly.

Default Implementations

Relationships

Conforms To

  • Swift.Copyable
  • Swift.CustomDebugStringConvertible
  • Swift.CustomStringConvertible
  • Swift.Escapable
  • Swift.Sendable
  • Swift.SendableMetatype