Program

Trait Program 

Source
pub trait Program: Sized {
    // Provided methods
    fn deploy(code_id: CodeId, salt: Vec<u8>) -> Deployment<Self, GstdEnv> { ... }
    fn client(program_id: ActorId) -> Actor<Self, GstdEnv> { ... }
}

Provided Methods§

Source

fn deploy(code_id: CodeId, salt: Vec<u8>) -> Deployment<Self, GstdEnv>

Source

fn client(program_id: ActorId) -> Actor<Self, GstdEnv>

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§