Struct dyer::plugin::deser::serde_headermapop::HeaderMapVisitor [−][src]
pub struct HeaderMapVisitor<HeaderValue> { /* fields omitted */ }
Implementations
Trait Implementations
type Value = HeaderMap<HeaderValue>
type Value = HeaderMap<HeaderValue>
The value produced by this visitor.
Format a message stating what data this Visitor expects to receive. Read more
The input contains a key-value map. Read more
The input contains a boolean. Read more
The input contains an i8
. Read more
The input contains an i16
. Read more
The input contains an i32
. Read more
The input contains an i64
. Read more
The input contains a i128
. Read more
The input contains a u8
. Read more
The input contains a u16
. Read more
The input contains a u32
. Read more
The input contains a u64
. Read more
The input contains a u128
. Read more
The input contains an f32
. Read more
The input contains an f64
. Read more
The input contains a char
. Read more
The input contains a string. The lifetime of the string is ephemeral and it may be destroyed after this method returns. Read more
The input contains a string that lives at least as long as the
Deserializer
. Read more
The input contains a string and ownership of the string is being given
to the Visitor
. Read more
The input contains a byte array. The lifetime of the byte array is ephemeral and it may be destroyed after this method returns. Read more
The input contains a byte array that lives at least as long as the
Deserializer
. Read more
The input contains a byte array and ownership of the byte array is being
given to the Visitor
. Read more
The input contains an optional that is absent. Read more
fn visit_some<D>(
self,
deserializer: D
) -> Result<Self::Value, <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
fn visit_some<D>(
self,
deserializer: D
) -> Result<Self::Value, <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
The input contains an optional that is present. Read more
The input contains a unit ()
. Read more
fn visit_newtype_struct<D>(
self,
deserializer: D
) -> Result<Self::Value, <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
fn visit_newtype_struct<D>(
self,
deserializer: D
) -> Result<Self::Value, <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
The input contains a newtype struct. Read more
The input contains a sequence of elements. Read more
fn visit_enum<A>(
self,
data: A
) -> Result<Self::Value, <A as EnumAccess<'de>>::Error> where
A: EnumAccess<'de>,
fn visit_enum<A>(
self,
data: A
) -> Result<Self::Value, <A as EnumAccess<'de>>::Error> where
A: EnumAccess<'de>,
The input contains an enum. Read more
Auto Trait Implementations
impl<HeaderValue> RefUnwindSafe for HeaderMapVisitor<HeaderValue>
impl<HeaderValue> Send for HeaderMapVisitor<HeaderValue>
impl<HeaderValue> Sync for HeaderMapVisitor<HeaderValue>
impl<HeaderValue> Unpin for HeaderMapVisitor<HeaderValue>
impl<HeaderValue> UnwindSafe for HeaderMapVisitor<HeaderValue>
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more