pub enum FromStrDecoder {}Expand description
A decoder which converts a single value using its FromStr implementation.
Trait Implementations§
Source§impl<T> DecodeHeader<T> for FromStrDecoder
impl<T> DecodeHeader<T> for FromStrDecoder
Source§fn decode<'a, I>(_: &ConjureRuntime, headers: I) -> Result<T, Error>where
I: IntoIterator<Item = &'a HeaderValue>,
fn decode<'a, I>(_: &ConjureRuntime, headers: I) -> Result<T, Error>where
I: IntoIterator<Item = &'a HeaderValue>,
Decodes the value from headers.