GearEnv

Trait GearEnv 

Source
pub trait GearEnv: Clone {
    type Params: Default;
    type Error: Error;
    type MessageState;

    // Provided method
    fn deploy<P: Program>(
        &self,
        code_id: CodeId,
        salt: Vec<u8>,
    ) -> Deployment<P, Self> { ... }
}

Required Associated Types§

Provided Methods§

Source

fn deploy<P: Program>( &self, code_id: CodeId, salt: Vec<u8>, ) -> Deployment<P, Self>

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§