Enum typed_headers::RetryAfter[][src]

pub enum RetryAfter {
    DelaySeconds(u64),
    HttpDate(HttpDate),
}

Variants

Trait Implementations

impl Debug for RetryAfter
[src]

Formats the value using the given formatter. Read more

impl Clone for RetryAfter
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for RetryAfter
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for RetryAfter
[src]

impl Header for RetryAfter
[src]

Returns the name of this header. Read more

Parses the header from the raw value bytes. Read more

Serializes the header to raw values. Read more

Auto Trait Implementations

impl Send for RetryAfter

impl Sync for RetryAfter