pub struct BlockingEth<T> { /* private fields */ }Implementations§
Source§impl<T> BlockingEth<T>
impl<T> BlockingEth<T>
pub fn wrap(eth: T, event_loop: EspSystemEventLoop) -> Result<Self, EspError>
pub fn eth(&self) -> &T
pub fn eth_mut(&mut self) -> &mut T
pub fn is_started(&self) -> Result<bool, EspError>
pub fn start(&mut self) -> Result<(), EspError>
pub fn stop(&mut self) -> Result<(), EspError>
pub fn is_connected(&self) -> Result<bool, EspError>
pub fn wait_connected(&self) -> Result<(), EspError>
pub fn eth_wait_while<F: Fn() -> Result<bool, EspError>>( &self, matcher: F, timeout: Option<Duration>, ) -> Result<(), EspError>
Source§impl<T> BlockingEth<T>where
T: NetifStatus,
impl<T> BlockingEth<T>where
T: NetifStatus,
pub fn is_up(&self) -> Result<bool, EspError>
pub fn wait_netif_up(&self) -> Result<(), EspError>
pub fn ip_wait_while<F: Fn() -> Result<bool, EspError>>( &self, matcher: F, timeout: Option<Duration>, ) -> Result<(), EspError>
Trait Implementations§
Source§impl<T> Eth for BlockingEth<T>
impl<T> Eth for BlockingEth<T>
Source§impl<T> NetifStatus for BlockingEth<T>where
T: NetifStatus,
Available on esp_idf_comp_esp_netif_enabled only.
impl<T> NetifStatus for BlockingEth<T>where
T: NetifStatus,
Available on
esp_idf_comp_esp_netif_enabled only.