kvarn_utils::prelude::header

Struct ToStrError

pub struct ToStrError { /* private fields */ }
Expand description

A possible error when converting a HeaderValue to a string representation.

Header field values may contain opaque bytes, in which case it is not possible to represent the value as a string.

Trait Implementations§

§

impl Debug for ToStrError

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl Display for ToStrError

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more