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