Struct http_serve::dir::FsDirBuilder[][src]

pub struct FsDirBuilder { /* fields omitted */ }
This is supported on crate feature dir only.
Expand description

A builder for a FsDir.

Implementations

Enables or disables automatic gzipping based on Accept-Encoding request headers.

Default is true.

Returns a FsDir for the given path.

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.