pub trait WireSchema {
const REQUIRES_ARITY: bool = false;
// Required method
fn wire_schema() -> Vec<u8> ⓘ;
}Expand description
Stable, versioned identity for persisted payloads, independent of Rust names.
External implementations must use a globally unique schema and change it when
the wire interpretation changes. Never reuse a built-in safemesh/ identity.
Provided Associated Constants§
const REQUIRES_ARITY: bool = false
Required Methods§
fn wire_schema() -> Vec<u8> ⓘ
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".