[][src]Function muon_rs::to_writer

pub fn to_writer<W, T>(writer: W, value: &T) -> Result<()> where
    W: Write,
    T: Serialize

Serialize T to an IO writer in MuON format

Errors

Serialization can fail if the serializer for T returns an error. Also, some types are not supported, such as enums and byte arrays.