Expand description
Configurable implementations for the buffer’s storage layer. Pre-configured implementations are available for memory and temporary file-based storage.
Modules§
- adaptive
- Storage wrappers that adaptively choose between two storage providers based on content length.
- bounded
- Storage wrappers for restricting the size of the underlying storage layer.
- memory
- 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.
- temp
temp-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§
- Storage
Provider - Creates a
StorageReaderandStorageWriterbased on the content length returned from theSourceStream. The reader and writer must track their position in the stream independently. - Storage
Reader - Trait used to read from a storage layer
- Storage
Writer - Handle for writing to the underlying storage layer.