pub trait ValidatingScheme: Scheme { }Expand description
A marker trait indicating that Scheme::check proves validity of the encoding.
In more detail, this means that upon a successful call to Scheme::check, guarantees that the shard results from a valid encoding of the data, and thus, if other participants also call check, then the data is guaranteed to be reconstructable.
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.