pub fn pack_value(value: &Value, mode: PackMode) -> DogeResult<Packed>Expand description
Deep-copy a value into its Send boundary form. A Pup cannot cross (a
catchable type error), and a structure nested past [PACK_DEPTH_LIMIT] — which
a self-referential value hits — is a catchable value error rather than an
unbounded copy. mode decides only how a socket is treated.