[−][src]Function vdf_serde::from_str
pub fn from_str<'a, T>(s: &'a str) -> Result<T> where
T: Deserialize<'a>,
Deserialize an instance of type T
from a string of VDF text
Errors
If s
is not valid VDF, or T
uses an unsupported Serde data type,
or T
's Deserialize
implementation itself returns an error, an error will be
returned.