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 DefaultConfigfn default() -> DefaultConfig[src]
fn default() -> DefaultConfigReturns the "default value" for a type. Read more
impl StaticFileConfig for DefaultConfig[src]
impl StaticFileConfig for DefaultConfigfn content_disposition_map(typ: Name) -> DispositionType[src]
fn content_disposition_map(typ: Name) -> DispositionTypeDescribes mapping for mime type to content disposition header Read more
fn is_use_etag() -> bool[src]
fn is_use_etag() -> boolDescribes whether Actix should attempt to calculate ETag Read more
fn is_use_last_modifier() -> bool[src]
fn is_use_last_modifier() -> boolDescribes 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) -> boolDescribes allowed methods to access static resources. Read more
Auto Trait Implementations
impl Send for DefaultConfig
impl Send for DefaultConfigimpl Sync for DefaultConfig
impl Sync for DefaultConfig