to_writer

Function to_writer 

Source
pub fn to_writer<T>(
    encoder: &mut Encoder,
    wrt: &mut impl Writer,
    value: &T,
) -> Result<()>
where T: ?Sized + Serialize,
Expand description

Encode single message into object that implements fastlib::Writer trait.