pub trait Wire: Serialize + DeserializeOwned {
const SHAPE: Shape;
const SCHEMA: Schema = crate::schema::Schema::Opaque;
}Expand description
Finite values. Prefer the derive with explicit field identities.
Manual implementations must provide honest bounds, reject before excessive allocation/work, and serialize deterministically. Unbounded Serde types have no implementation. Recursive types are unsupported.
Required Associated Constants§
Provided Associated Constants§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".