Struct esp_idf_hal::sys::esp_netif_driver_ifconfig
source · #[repr(C)]pub struct esp_netif_driver_ifconfig {
pub handle: *mut c_void,
pub transmit: Option<unsafe extern "C" fn(_: *mut c_void, _: *mut c_void, _: usize) -> i32>,
pub transmit_wrap: Option<unsafe extern "C" fn(_: *mut c_void, _: *mut c_void, _: usize, _: *mut c_void) -> i32>,
pub driver_free_rx_buffer: Option<unsafe extern "C" fn(_: *mut c_void, _: *mut c_void)>,
}
Expand description
@brief Specific IO driver configuration
Fields§
§handle: *mut c_void
< io-driver handle
transmit: Option<unsafe extern "C" fn(_: *mut c_void, _: *mut c_void, _: usize) -> i32>
< transmit function pointer
transmit_wrap: Option<unsafe extern "C" fn(_: *mut c_void, _: *mut c_void, _: usize, _: *mut c_void) -> i32>
< transmit wrap function pointer
driver_free_rx_buffer: Option<unsafe extern "C" fn(_: *mut c_void, _: *mut c_void)>
< free rx buffer function pointer
Trait Implementations§
source§impl Clone for esp_netif_driver_ifconfig
impl Clone for esp_netif_driver_ifconfig
source§fn clone(&self) -> esp_netif_driver_ifconfig
fn clone(&self) -> esp_netif_driver_ifconfig
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_ifconfig
impl Debug for esp_netif_driver_ifconfig
source§impl Default for esp_netif_driver_ifconfig
impl Default for esp_netif_driver_ifconfig
source§fn default() -> esp_netif_driver_ifconfig
fn default() -> esp_netif_driver_ifconfig
Returns the “default value” for a type. Read more
impl Copy for esp_netif_driver_ifconfig
Auto Trait Implementations§
impl Freeze for esp_netif_driver_ifconfig
impl RefUnwindSafe for esp_netif_driver_ifconfig
impl !Send for esp_netif_driver_ifconfig
impl !Sync for esp_netif_driver_ifconfig
impl Unpin for esp_netif_driver_ifconfig
impl UnwindSafe for esp_netif_driver_ifconfig
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: 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
)§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
)