pub struct Request<L> { /* private fields */ }
Expand description

A request for a download from a specific location

The default is to download the complete BLOB.

Implementations

Specify the location to download the Blob from

Specify the range to download

Attach a Probe to the download

Explicitly set the condition on when to query for the Blob size

Download as an OrderedChunkStream

Download as a ChunkStream

Downloads into a freshly allocated Vec

Writes all received bytes into the provided buffer

Fails if the buffer is too small.

Returns an [AsyncRead] which reads over the bytes of the stream

Pulls the bytes into the void

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more