pub type PrivateStateSerializer = Box<dyn Fn(&RuntimeValue) -> Result<Vec<u8>> + Send + Sync>;Expand description
Serializer closure type — takes a reference to the circuit’s
next-private-state (always RuntimeValue at the host layer) and
produces the bytes the provider stores. Boxed so
BuildCallOptions stays Send without imposing generic closure
types on every call site.
Aliased Type§
pub struct PrivateStateSerializer(/* private fields */);