pub struct SerializerWithAcc<'s, Dst: Write> { /* private fields */ }Trait Implementations§
Source§impl<Dst: Write> SerializeMap for SerializerWithAcc<'_, Dst>
impl<Dst: Write> SerializeMap for SerializerWithAcc<'_, Dst>
Source§impl<Dst: Write> SerializeSeq for SerializerWithAcc<'_, Dst>
impl<Dst: Write> SerializeSeq for SerializerWithAcc<'_, Dst>
Source§impl<Dst: Write> SerializeStruct for SerializerWithAcc<'_, Dst>
impl<Dst: Write> SerializeStruct for SerializerWithAcc<'_, Dst>
Source§type Error = SerializeError
type Error = SerializeError
Must match the
Error type of our Serializer.Source§fn serialize_field<T>(
&mut self,
_key: &'static str,
value: &T,
) -> Result<(), Self::Error>
fn serialize_field<T>( &mut self, _key: &'static str, value: &T, ) -> Result<(), Self::Error>
Serialize a struct field.
Source§impl<Dst: Write> SerializeStructVariant for SerializerWithAcc<'_, Dst>
impl<Dst: Write> SerializeStructVariant for SerializerWithAcc<'_, Dst>
Source§type Error = SerializeError
type Error = SerializeError
Must match the
Error type of our Serializer.Source§fn serialize_field<T>(
&mut self,
_key: &'static str,
value: &T,
) -> Result<(), Self::Error>
fn serialize_field<T>( &mut self, _key: &'static str, value: &T, ) -> Result<(), Self::Error>
Serialize a struct variant field.
Source§impl<Dst: Write> SerializeTuple for SerializerWithAcc<'_, Dst>
impl<Dst: Write> SerializeTuple for SerializerWithAcc<'_, Dst>
Source§impl<Dst: Write> SerializeTupleStruct for SerializerWithAcc<'_, Dst>
impl<Dst: Write> SerializeTupleStruct for SerializerWithAcc<'_, Dst>
Source§impl<Dst: Write> SerializeTupleVariant for SerializerWithAcc<'_, Dst>
impl<Dst: Write> SerializeTupleVariant for SerializerWithAcc<'_, Dst>
Auto Trait Implementations§
impl<'s, Dst> !UnwindSafe for SerializerWithAcc<'s, Dst>
impl<'s, Dst> Freeze for SerializerWithAcc<'s, Dst>
impl<'s, Dst> RefUnwindSafe for SerializerWithAcc<'s, Dst>where
Dst: RefUnwindSafe,
impl<'s, Dst> Send for SerializerWithAcc<'s, Dst>where
Dst: Send,
impl<'s, Dst> Sync for SerializerWithAcc<'s, Dst>where
Dst: Sync,
impl<'s, Dst> Unpin for SerializerWithAcc<'s, Dst>
impl<'s, Dst> UnsafeUnpin for SerializerWithAcc<'s, Dst>
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