Enum typed_headers::RetryAfter [−][src]
Variants
DelaySeconds(u64)HttpDate(HttpDate)
Trait Implementations
impl Debug for RetryAfter[src]
impl Debug for RetryAfterfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Clone for RetryAfter[src]
impl Clone for RetryAfterfn clone(&self) -> RetryAfter[src]
fn clone(&self) -> RetryAfterReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl PartialEq for RetryAfter[src]
impl PartialEq for RetryAfterfn eq(&self, other: &RetryAfter) -> bool[src]
fn eq(&self, other: &RetryAfter) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &RetryAfter) -> bool[src]
fn ne(&self, other: &RetryAfter) -> boolThis method tests for !=.
impl Eq for RetryAfter[src]
impl Eq for RetryAfterimpl Header for RetryAfter[src]
impl Header for RetryAfterfn name() -> &'static HeaderName[src]
fn name() -> &'static HeaderNameReturns the name of this header. Read more
fn from_values<'a>(
values: &mut ValueIter<'a, HeaderValue>
) -> Result<Option<RetryAfter>, Error>[src]
fn from_values<'a>(
values: &mut ValueIter<'a, HeaderValue>
) -> Result<Option<RetryAfter>, Error>Parses the header from the raw value bytes. Read more
fn to_values(&self, values: &mut ToValues)[src]
fn to_values(&self, values: &mut ToValues)Serializes the header to raw values. Read more
Auto Trait Implementations
impl Send for RetryAfter
impl Send for RetryAfterimpl Sync for RetryAfter
impl Sync for RetryAfter