Skip to main content

Module remote_props

Module remote_props 

Source
Expand description

RemoteProps — typed Props serialization for Deploy::remote.

Without a portable Props codec the remote deployer can only ship (manifest, bytes) pairs — this module gives users an opt-in registry where each manifest maps to a typed factory that reconstructs the actor on the receiving node.

Structs§

RemotePropsRegistry
Per-system registry of (manifest, factory) pairs.

Enums§

RemotePropsError

Functions§

register_bincode
Convenience: register a factory that decodes a serde::Deserialize type via bincode. Eliminates the per-manifest boilerplate.