Skip to main content

BcsApplication

Trait BcsApplication 

Source
pub trait BcsApplication {
    type Abi;

    // Required method
    fn formats() -> Result<Formats>;
}
Expand description

An application using BCS as binary encoding.

Required Associated Types§

Source

type Abi

Link the public Abi of application for good measure.

Required Methods§

Source

fn formats() -> Result<Formats>

Returns the serde formats for this application’s ABI types.

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.

Implementors§