Trait CustomHeaderValues

Source
pub trait CustomHeaderValues {
    // Required methods
    fn xx_cache(&self, default: bool) -> bool;
    fn xx_cache_duration(&self) -> Option<Duration>;
    fn xx_encode(&self, default: bool) -> bool;
}
Expand description

Access custom header values.

Required Methods§

Source

fn xx_cache(&self, default: bool) -> bool

Parse XX-Cache response header value.

Source

fn xx_cache_duration(&self) -> Option<Duration>

Parse XX-Cache-Duration response header value.

Source

fn xx_encode(&self, default: bool) -> bool

Parse XX-Encode response header value.

Implementations on Foreign Types§

Source§

impl CustomHeaderValues for HeaderMap

Source§

fn xx_cache(&self, default: bool) -> bool

Source§

fn xx_cache_duration(&self) -> Option<Duration>

Source§

fn xx_encode(&self, default: bool) -> bool

Implementors§