Skip to main content

pack_snapshot

Function pack_snapshot 

Source
pub fn pack_snapshot(value: &Value) -> Packed
Expand description

Snapshot a value for an ambient position (the globals a pup inherits), never failing: a value that cannot be packed — a Pup, or one nested too deep — simply arrives as none in the pup rather than blocking the spawn, since the pup likely never touches that binding.