Struct esp_idf_sys::esp_netif_driver_base_s
source · #[repr(C)]pub struct esp_netif_driver_base_s {
pub post_attach: Option<unsafe extern "C" fn(netif: *mut esp_netif_t, h: esp_netif_iodriver_handle) -> esp_err_t>,
pub netif: *mut esp_netif_t,
}
Expand description
@brief ESP-netif driver base handle
Fields§
§post_attach: Option<unsafe extern "C" fn(netif: *mut esp_netif_t, h: esp_netif_iodriver_handle) -> esp_err_t>
< post attach function pointer
netif: *mut esp_netif_t
< netif handle
Trait Implementations§
source§impl Clone for esp_netif_driver_base_s
impl Clone for esp_netif_driver_base_s
source§fn clone(&self) -> esp_netif_driver_base_s
fn clone(&self) -> esp_netif_driver_base_s
Returns a copy of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for esp_netif_driver_base_s
impl Debug for esp_netif_driver_base_s
source§impl Default for esp_netif_driver_base_s
impl Default for esp_netif_driver_base_s
impl Copy for esp_netif_driver_base_s
Auto Trait Implementations§
impl Freeze for esp_netif_driver_base_s
impl RefUnwindSafe for esp_netif_driver_base_s
impl !Send for esp_netif_driver_base_s
impl !Sync for esp_netif_driver_base_s
impl Unpin for esp_netif_driver_base_s
impl UnwindSafe for esp_netif_driver_base_s
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)