Function serialize_toml

Source
pub fn serialize_toml<T>(subject: &T) -> Result<Vec<u8>, SerializationError>
where T: ?Sized + Serialize,
Expand description

Attempts to serialise subject into TOML and returns the string as a Vec<u8>.