pub trait Eth {
type Error: Debug;
// Required methods
async fn start(&mut self) -> Result<(), Self::Error>;
async fn stop(&mut self) -> Result<(), Self::Error>;
async fn is_started(&self) -> Result<bool, Self::Error>;
async fn is_connected(&self) -> Result<bool, Self::Error>;
}
Required Associated Types§
Required Methods§
async fn start(&mut self) -> Result<(), Self::Error>
async fn stop(&mut self) -> Result<(), Self::Error>
async fn is_started(&self) -> Result<bool, Self::Error>
async fn is_connected(&self) -> Result<bool, Self::Error>
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.