#[repr(C)]pub struct esp_netif_ppp_config {
pub ppp_phase_event_enabled: bool,
pub ppp_error_event_enabled: bool,
}
Expand description
@brief Configuration structure for PPP network interface
Fields§
§ppp_phase_event_enabled: bool
< Enables events coming from PPP PHASE change
ppp_error_event_enabled: bool
< Enables events from main PPP state machine producing errors
Trait Implementations§
Source§impl Clone for esp_netif_ppp_config
impl Clone for esp_netif_ppp_config
Source§fn clone(&self) -> esp_netif_ppp_config
fn clone(&self) -> esp_netif_ppp_config
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_ppp_config
impl Debug for esp_netif_ppp_config
Source§impl Default for esp_netif_ppp_config
impl Default for esp_netif_ppp_config
Source§fn default() -> esp_netif_ppp_config
fn default() -> esp_netif_ppp_config
Returns the “default value” for a type. Read more
Source§impl From<esp_netif_ppp_config> for PppConfiguration
impl From<esp_netif_ppp_config> for PppConfiguration
Source§fn from(cfg: esp_netif_ppp_config_t) -> Self
fn from(cfg: esp_netif_ppp_config_t) -> Self
Converts to this type from the input type.
impl Copy for esp_netif_ppp_config
Auto Trait Implementations§
impl Freeze for esp_netif_ppp_config
impl RefUnwindSafe for esp_netif_ppp_config
impl Send for esp_netif_ppp_config
impl Sync for esp_netif_ppp_config
impl Unpin for esp_netif_ppp_config
impl UnwindSafe for esp_netif_ppp_config
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,
§unsafe fn clone_to_uninit(&self, dst: *mut u8)
unsafe fn clone_to_uninit(&self, dst: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)