VMInterface

Trait VMInterface 

Source
pub trait VMInterface<N>
where Self: Default, N: Network<'static>,
{ // Required methods fn add_to_network(&self, network: N) -> Result<()>; fn remove_from_network(&self, network: N) -> Result<()>; fn configure_addresses(&self, addresses: Vec<Address>) -> Result<()>; }

Required Methods§

Source

fn add_to_network(&self, network: N) -> Result<()>

Source

fn remove_from_network(&self, network: N) -> Result<()>

Source

fn configure_addresses(&self, addresses: Vec<Address>) -> Result<()>

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§