Skip to main content

ToHeaderMap

Trait ToHeaderMap 

Source
pub(crate) trait ToHeaderMap {
    // Required method
    fn get(&self, key: &str) -> Option<&str>;
}

Required Methods§

Source

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

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl ToHeaderMap for HeaderMap

Source§

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

Source§

impl ToHeaderMap for MetadataMap

Source§

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

Implementors§