pub trait WireSchema {
const FINGERPRINT: [u8; 32];
const DESCRIPTOR: &'static str;
}Expand description
Layout fingerprint published by each wire struct via the
#[derive(WireSchema)] proc-macro (defined in
cc-lb-pdk-wasmtime-macros). The macro walks the struct AST,
serialises fields to a canonical descriptor string, then embeds
BLAKE3(descriptor) as a 32-byte const.
Required Associated Constants§
const FINGERPRINT: [u8; 32]
const DESCRIPTOR: &'static str
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".