[][src]Struct actix_web::fs::DefaultConfig

pub struct DefaultConfig;

Default content disposition as described in StaticFileConfig

Trait Implementations

impl StaticFileConfig for DefaultConfig[src]

fn content_disposition_map(typ: Name) -> DispositionType[src]

Describes mapping for mime type to content disposition header Read more

fn is_use_etag() -> bool[src]

Describes whether Actix should attempt to calculate ETag Read more

fn is_use_last_modifier() -> bool[src]

Describes whether Actix should use last modified date of file. Read more

fn is_method_allowed(_method: &Method) -> bool[src]

Describes allowed methods to access static resources. Read more

impl Default for DefaultConfig[src]

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Erased for T