[][src]Trait hyper_staticfile::DateTimeHttp

pub trait DateTimeHttp {
    pub fn to_http_date(&self) -> String;
}

Extensions to the chrono DateTime type for HTTP.

Required methods

pub fn to_http_date(&self) -> String[src]

Returns an HTTP format date string, such as Sat, 26 Oct 1985 01:22:00 GMT.

Loading content...

Implementations on Foreign Types

impl<Tz: TimeZone> DateTimeHttp for DateTime<Tz>[src]

Loading content...

Implementors

Loading content...