Struct actix_web::fs::DefaultConfig [−][src]
pub struct DefaultConfig;
Default content disposition as described in StaticFileConfig
Trait Implementations
impl Default for DefaultConfig
[src]
impl Default for DefaultConfig
fn default() -> DefaultConfig
[src]
fn default() -> DefaultConfig
Returns the "default value" for a type. Read more
impl StaticFileConfig for DefaultConfig
[src]
impl StaticFileConfig for DefaultConfig
fn content_disposition_map(typ: Name) -> DispositionType
[src]
fn content_disposition_map(typ: Name) -> DispositionType
Describes mapping for mime type to content disposition header Read more
fn is_use_etag() -> bool
[src]
fn is_use_etag() -> bool
Describes whether Actix should attempt to calculate ETag
Read more
fn is_use_last_modifier() -> bool
[src]
fn is_use_last_modifier() -> bool
Describes whether Actix should use last modified date of file. Read more
fn is_method_allowed(_method: &Method) -> bool
[src]
fn is_method_allowed(_method: &Method) -> bool
Describes allowed methods to access static resources. Read more
Auto Trait Implementations
impl Send for DefaultConfig
impl Send for DefaultConfig
impl Sync for DefaultConfig
impl Sync for DefaultConfig