Struct serde_amqp::size_ser::MapSerializer
source · pub struct MapSerializer<'a> { /* private fields */ }
Expand description
MapSerializer that calculates the size of serialized data without actually allocating Vec<u8>
Trait Implementations§
source§impl<'a> Debug for MapSerializer<'a>
impl<'a> Debug for MapSerializer<'a>
source§impl<'a> SerializeMap for MapSerializer<'a>
impl<'a> SerializeMap for MapSerializer<'a>
source§fn serialize_entry<K, V>(
&mut self,
key: &K,
value: &V,
) -> Result<(), Self::Error>
fn serialize_entry<K, V>( &mut self, key: &K, value: &V, ) -> Result<(), Self::Error>
Serialize a map entry consisting of a key and a value. Read more
Auto Trait Implementations§
impl<'a> Freeze for MapSerializer<'a>
impl<'a> RefUnwindSafe for MapSerializer<'a>
impl<'a> Send for MapSerializer<'a>
impl<'a> Sync for MapSerializer<'a>
impl<'a> Unpin for MapSerializer<'a>
impl<'a> !UnwindSafe for MapSerializer<'a>
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