Trait embedded_svc::eth::Eth

source ·
pub trait Eth {
    type Error: Debug;

    // Required methods
    fn start(&mut self) -> Result<(), Self::Error>;
    fn stop(&mut self) -> Result<(), Self::Error>;
    fn is_started(&self) -> Result<bool, Self::Error>;
    fn is_connected(&self) -> Result<bool, Self::Error>;
}

Required Associated Types§

source

type Error: Debug

Required Methods§

source

fn start(&mut self) -> Result<(), Self::Error>

source

fn stop(&mut self) -> Result<(), Self::Error>

source

fn is_started(&self) -> Result<bool, Self::Error>

source

fn is_connected(&self) -> Result<bool, Self::Error>

Implementations on Foreign Types§

source§

impl<E> Eth for &mut E
where E: Eth,

§

type Error = <E as Eth>::Error

source§

fn start(&mut self) -> Result<(), Self::Error>

source§

fn stop(&mut self) -> Result<(), Self::Error>

source§

fn is_started(&self) -> Result<bool, Self::Error>

source§

fn is_connected(&self) -> Result<bool, Self::Error>

Implementors§