pub trait VMInterface<N>{
// 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§
fn add_to_network(&self, network: N) -> Result<()>
fn remove_from_network(&self, network: N) -> Result<()>
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.