logo
pub trait ToHeader: Type {
    fn to_header(&self) -> Option<HeaderValue>;
}
Expand description

Represents a type that can converted to HTTP header.

Required methods

Convert this value to HeaderValue.

Implementations on Foreign Types

Implementors