pub fn serialize_toml<T>(subject: &T) -> Result<Vec<u8>, SerializationError>where T: ?Sized + Serialize,
Attempts to serialise subject into TOML and returns the string as a Vec<u8>.
subject
TOML
Vec<u8>