pub trait Probe: Encode + Debug { }Expand description
Deterministic, encode-only probe value for canonical byte-level matching.
Represents values that are not intended to be decoded or compared by their raw Rust representation. Instead, they are used by encoding them into their canonical SCALE form and matching that representation externally.
This includes dynamically sized types such as slices, allowing borrowed
views (e.g. &[u8], &[T]) to act as probes without requiring ownership.
- [
Encode]: Produces the canonical deterministic representation. Debug: Supports diagnostics in bothno_stdand native builds.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.