pub trait ContractSurface {
const SCHEMA_VERSION: u32;
// Provided method
fn envelope(self) -> Envelope<Self>
where Self: Sized { ... }
}Required Associated Constants§
const SCHEMA_VERSION: u32
Provided Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".