Struct esp_idf_sys::ip_event_got_ip_t
source · [−]#[repr(C)]pub struct ip_event_got_ip_t {
pub if_index: c_int,
pub esp_netif: *mut esp_netif_t,
pub ip_info: esp_netif_ip_info_t,
pub ip_changed: bool,
}
Expand description
@brief Event structure for IP_EVENT_GOT_IP event
Fields
if_index: c_int
< Interface index for which the event is received (left for legacy compilation)
esp_netif: *mut esp_netif_t
< Pointer to corresponding esp-netif object
ip_info: esp_netif_ip_info_t
< IP address, netmask, gatway IP address
ip_changed: bool
< Whether the assigned IP has changed or not
Trait Implementations
sourceimpl Clone for ip_event_got_ip_t
impl Clone for ip_event_got_ip_t
sourcefn clone(&self) -> ip_event_got_ip_t
fn clone(&self) -> ip_event_got_ip_t
Returns a copy of the value. Read more
1.0.0fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ip_event_got_ip_t
impl Debug for ip_event_got_ip_t
sourceimpl Default for ip_event_got_ip_t
impl Default for ip_event_got_ip_t
impl Copy for ip_event_got_ip_t
Auto Trait Implementations
impl RefUnwindSafe for ip_event_got_ip_t
impl !Send for ip_event_got_ip_t
impl !Sync for ip_event_got_ip_t
impl Unpin for ip_event_got_ip_t
impl UnwindSafe for ip_event_got_ip_t
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstablefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
fn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
Uses borrowed data to replace owned data, usually by cloning. Read more