to_string

Function to_string 

Source
pub fn to_string<T>(value: &T) -> Result<String>
where T: Serialize,
Expand description

Attempts to serialize some input to VDF text

§Errors

This will return an error if the input can’t be represented with valid VDF