pub fn from_str<'code, T>(src: &'code str) -> Result<T, Error>where
T: Deserialize<'code>,Expand description
Evaluate the Nix code in src and attempt to deserialise the
value it returns to T.
pub fn from_str<'code, T>(src: &'code str) -> Result<T, Error>where
T: Deserialize<'code>,Evaluate the Nix code in src and attempt to deserialise the
value it returns to T.