Skip to main content

DefaultEnv

Trait DefaultEnv 

Source
pub trait DefaultEnv {
    // Provided method
    fn env() -> EnvAccess<'static, DefaultEnvironment> { ... }
}
Expand description

Each object has access to default environment via Self::env(). It can be used for interaction with host functions of the blockchain.

Provided Methods§

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§

Source§

impl<T> DefaultEnv for T