pub struct PppConfiguration {
pub phase_events_enabled: bool,
pub error_events_enabled: bool,
}
Fields§
§phase_events_enabled: bool
Enables events coming from PPP PHASE change
error_events_enabled: bool
Enables events from main PPP state machine producing errors
Implementations§
Trait Implementations§
Source§impl Clone for PppConfiguration
impl Clone for PppConfiguration
Source§fn clone(&self) -> PppConfiguration
fn clone(&self) -> PppConfiguration
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 PppConfiguration
impl Debug for PppConfiguration
Source§impl Default for PppConfiguration
impl Default for PppConfiguration
Source§impl From<&PppConfiguration> for esp_netif_ppp_config_t
impl From<&PppConfiguration> for esp_netif_ppp_config_t
Source§fn from(cfg: &PppConfiguration) -> Self
fn from(cfg: &PppConfiguration) -> Self
Converts to this type from the input type.
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.
Source§impl Hash for PppConfiguration
impl Hash for PppConfiguration
Source§impl PartialEq for PppConfiguration
impl PartialEq for PppConfiguration
impl Eq for PppConfiguration
impl StructuralPartialEq for PppConfiguration
Auto Trait Implementations§
impl Freeze for PppConfiguration
impl RefUnwindSafe for PppConfiguration
impl Send for PppConfiguration
impl Sync for PppConfiguration
impl Unpin for PppConfiguration
impl UnwindSafe for PppConfiguration
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
)