Struct rocket_download_response::DownloadResponsePro[][src]

pub struct DownloadResponsePro<'o> { /* fields omitted */ }

Implementations

Create a DownloadResponse instance from a &'o [u8].

Create a DownloadResponse instance from a Vec<u8>.

Create a DownloadResponse instance from a reader.

Create a DownloadResponse instance from a path of a file.

Create a DownloadResponse instance from a TempFile.

Trait Implementations

Formats the value using the given formatter. Read more

Returns Ok if a Response could be generated successfully. Otherwise, returns an Err with a failing Status. Read more

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

Performs the conversion.

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

Performs the conversion.

Converts self into a collection.

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.