Skip to main content

Module de

Module de 

Source
Expand description

Deserialisation from Nix to Rust values.

Structsยง

Enum ๐Ÿ”’
NixDeserializer ๐Ÿ”’

Functionsยง

from_str
Evaluate the Nix code in src and attempt to deserialise the value it returns to T.
from_str_with_config
Evaluate the Nix code in src, with extra configuration for the snix_eval::Evaluation provided by the given closure.
from_value
Deserialise a snix_eval::Value directly into a T without going through Nix evaluation. This is the inverse of crate::to_value.
unexpected ๐Ÿ”’
visit_integer ๐Ÿ”’