Skip to main content

ContractSurface

Trait ContractSurface 

Source
pub trait ContractSurface {
    const SCHEMA_VERSION: u32;

    // Provided method
    fn envelope(self) -> Envelope<Self>
       where Self: Sized { ... }
}

Required Associated Constants§

Provided Methods§

Source

fn envelope(self) -> Envelope<Self>
where Self: Sized,

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§