Macro impl_non_serializable_protocol
Source macro_rules! impl_non_serializable_protocol {
($type:ty, $msg:expr) => { ... };
}
Expand description
Macro to implement error-returning Serialize/Deserialize for protocols
that cannot be serialized (e.g., due to VM state or external SDK dependencies).
§Examples
ⓘimpl_non_serializable_protocol!(MyProtocolState, "error message");