#[repr(C)]
pub struct esp_netif_inherent_config { pub flags: esp_netif_flags_t, pub mac: [u8; 6], pub ip_info: *const esp_netif_ip_info_t, pub get_ip_event: u32, pub lost_ip_event: u32, pub if_key: *const c_char, pub if_desc: *const c_char, pub route_prio: c_int, }
Expand description

@brief ESP-netif inherent config parameters

Fields

flags: esp_netif_flags_t

< flags that define esp-netif behavior

mac: [u8; 6]

< initial mac address for this interface

ip_info: *const esp_netif_ip_info_t

< initial ip address for this interface

get_ip_event: u32

< event id to be raised when interface gets an IP

lost_ip_event: u32

< event id to be raised when interface losts its IP

if_key: *const c_char

< string identifier of the interface

if_desc: *const c_char

< textual description of the interface

route_prio: c_int

< numeric priority of this interface to become a default routing if (if other netifs are up). A higher value of route_prio indicates a higher priority

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.