pub struct FlatMapSerializeMap<'a, M: 'a>(/* private fields */);
Trait Implementations§
source§impl<'a, M> SerializeMap for FlatMapSerializeMap<'a, M>where
M: SerializeMap + 'a,
impl<'a, M> SerializeMap for FlatMapSerializeMap<'a, M>where
M: SerializeMap + 'a,
source§type Error = <M as SerializeMap>::Error
type Error = <M as SerializeMap>::Error
Must match the
Error
type of our Serializer
.source§fn serialize_key<T>(&mut self, key: &T) -> Result<(), Self::Error>
fn serialize_key<T>(&mut self, key: &T) -> Result<(), Self::Error>
Serialize a map key. Read more
source§fn serialize_value<T>(&mut self, value: &T) -> Result<(), Self::Error>
fn serialize_value<T>(&mut self, value: &T) -> Result<(), Self::Error>
Serialize a map value. Read more
Auto Trait Implementations§
impl<'a, M> Freeze for FlatMapSerializeMap<'a, M>
impl<'a, M> RefUnwindSafe for FlatMapSerializeMap<'a, M>where
M: RefUnwindSafe,
impl<'a, M> Send for FlatMapSerializeMap<'a, M>where
M: Send,
impl<'a, M> Sync for FlatMapSerializeMap<'a, M>where
M: Sync,
impl<'a, M> Unpin for FlatMapSerializeMap<'a, M>
impl<'a, M> !UnwindSafe for FlatMapSerializeMap<'a, M>
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