pub trait Substrate: Send + Sync {
// Required methods
fn execute(
&self,
cmd: SubstrateCommand,
) -> Result<SubstrateResult, SubstrateError>;
fn is_available(&self) -> bool;
}Required Methods§
fn execute( &self, cmd: SubstrateCommand, ) -> Result<SubstrateResult, SubstrateError>
fn is_available(&self) -> bool
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".