Expand description

Configurable implementations for the buffer’s storage layer. Pre-configured implementations are available for memory and temporary file-based storage.

Modules§

  • Storage wrappers that use bounded implementations when the content length is not known. In this scenario, it is assumed that the source is an infinite stream.
  • Storage wrappers for restricting the size of the underlying storage layer. This is useful for dealing with infinite streams when you don’t want the storage size to keep growing indefinitely. It can also be used for downloading large files where you want to prevent allocating too much space at one time.
  • Storage implementations for reading and writing to an in-memory buffer. If the content length is known, the buffer size will be initialized to the content length, but the buffer will expand beyond that if required.
  • temptemp-storage
    Storage implementations for reading and writing to a temporary file. If the content length is known, the buffer size will be initialized to the content length, but the buffer will expand beyond that if required.

Traits§