pub trait Headers {
    // Required method
    fn get(&self, header_name: &str) -> Option<&HeaderValue>;
}

Required Methods§

source

fn get(&self, header_name: &str) -> Option<&HeaderValue>

Implementations on Foreign Types§

source§

impl Headers for HeaderMap

source§

fn get(&self, header_name: &str) -> Option<&HeaderValue>

source§

impl<T> Headers for Request<T>

source§

fn get(&self, header_name: &str) -> Option<&HeaderValue>

Implementors§