pub struct TupleVariantSerializer { /* private fields */ }Trait Implementations§
Source§impl SerializeTupleVariant for TupleVariantSerializer
impl SerializeTupleVariant for TupleVariantSerializer
Source§type Ok = ConfigValue
type Ok = ConfigValue
Must match the
Ok type of our Serializer.Source§type Error = DeserializeError
type Error = DeserializeError
Must match the
Error type of our Serializer.Source§fn serialize_field<T: Serialize + ?Sized>(
&mut self,
value: &T,
) -> Result<(), DeserializeError>
fn serialize_field<T: Serialize + ?Sized>( &mut self, value: &T, ) -> Result<(), DeserializeError>
Serialize a tuple variant field.
Source§fn end(self) -> Result<ConfigValue, DeserializeError>
fn end(self) -> Result<ConfigValue, DeserializeError>
Finish serializing a tuple variant.
Auto Trait Implementations§
impl Freeze for TupleVariantSerializer
impl RefUnwindSafe for TupleVariantSerializer
impl Send for TupleVariantSerializer
impl Sync for TupleVariantSerializer
impl Unpin for TupleVariantSerializer
impl UnsafeUnpin for TupleVariantSerializer
impl UnwindSafe for TupleVariantSerializer
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