pub enum FromPlainDecoder {}Expand description
A decoder which converts a single value using its FromPlain implementation.
Trait Implementations§
Source§impl<T> DecodeHeader<T> for FromPlainDecoder
impl<T> DecodeHeader<T> for FromPlainDecoder
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 FromPlainDecoder
impl RefUnwindSafe for FromPlainDecoder
impl Send for FromPlainDecoder
impl Sync for FromPlainDecoder
impl Unpin for FromPlainDecoder
impl UnwindSafe for FromPlainDecoder
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