Struct worker::File[][src]

pub struct File(_);
Expand description

A File representation used with FormData.

Implementations

Construct a new named file from a buffer.

Get the file name.

Read the file from an internal buffer and get the resulting bytes.

Get the last_modified metadata property of the file.

Trait Implementations

Performs the conversion.

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.

Performs the conversion.

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.