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.
Auto Trait Implementations§
impl Freeze for FromStrDecoder
impl RefUnwindSafe for FromStrDecoder
impl Send for FromStrDecoder
impl Sync for FromStrDecoder
impl Unpin for FromStrDecoder
impl UnwindSafe for FromStrDecoder
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more