Skip to main content

NetifMode

Trait NetifMode 

Source
pub trait NetifMode {
    // Required methods
    fn init(&mut self) -> Result<(), EspError>;
    fn deinit(&mut self) -> Result<(), EspError>;
}
Expand description

Trait shared between the modes of operation of the EspThread instance

Required Methods§

Source

fn init(&mut self) -> Result<(), EspError>

Source

fn deinit(&mut self) -> Result<(), EspError>

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§