Skip to main content

is_serializable

Function is_serializable 

Source
pub fn is_serializable(stored: &Stored) -> bool
Expand description

Check whether a Stored value can be serialized for the kernel dump. Values containing closures (Primitive, Constructor, Conditional, etc.) cannot be serialized — they come from Rust engine code, not the dump. This matches Perl’s DumpFile which only serializes Expandable macros.