Module stream_download::storage::adaptive
source · Expand description
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.
This module is useful when you want to need to support both infinite and finite streams while avoiding the overhead of using a bounded buffer when it’s not necessary.
Structs§
- Creates an
AdaptiveStorageReader
based in the supplied content length
Enums§
- Reader created by an
AdaptiveStorageProvider
. - Write handle created by an
AdaptiveStorageReader
.