[][src]Trait rmp_serde::encode::VariantWriter

pub trait VariantWriter {
    fn write_struct_len<W>(
        &self,
        wr: &mut W,
        len: u32
    ) -> Result<Marker, ValueWriteError>
    where
        W: Write
;
fn write_field_name<W>(
        &self,
        wr: &mut W,
        key: &str
    ) -> Result<(), ValueWriteError>
    where
        W: Write
; }

Required Methods

Implementors

impl VariantWriter for StructArrayWriter
[src]

This implementation does not write field names

impl VariantWriter for StructMapWriter
[src]