try_format_http_date

Function try_format_http_date 

Source
pub fn try_format_http_date(
    time: SystemTime,
) -> Result<String, HttpValidatorError>
Expand description

Formats a system time when it is representable by the HTTP-date implementation.

ยงErrors

Returns HttpValidatorError::InvalidHttpDate when time is outside the supported HTTP-date range.