pub enum PppEvent {
Show 27 variants
NoError,
ParameterError,
OpenError,
DeviceError,
AllocError,
UserError,
DisconnectError,
AuthFailError,
ProtocolError,
PeerDeadError,
IdleTimeoutError,
MaxConnectTimeoutError,
LoopbackError,
PhaseDead,
PhaseMaster,
PhaseHoldoff,
PhaseInitialize,
PhaseSerialConnection,
PhaseDormant,
PhaseEstablish,
PhaseAuthenticate,
PhaseCallback,
PhaseNetwork,
PhaseRunning,
PhaseTerminate,
PhaseDisconnect,
PhaseFailed,
}
Expand description
Represents a PPP event on the system event loop
Variants§
NoError
No error
ParameterError
Invalid parameter
OpenError
Unable to open PPP session
DeviceError
Invalid I/O device for PPP
AllocError
Unable to allocate resources
UserError
User interrupt
DisconnectError
Connection lost
AuthFailError
Failed authentication challenge
ProtocolError
Failed to meet protocol
PeerDeadError
Connection timeout
IdleTimeoutError
Idle Timeout
MaxConnectTimeoutError
Max connect time reached
LoopbackError
Loopback detected
PhaseDead
PhaseMaster
PhaseHoldoff
PhaseInitialize
PhaseSerialConnection
PhaseDormant
PhaseEstablish
PhaseAuthenticate
PhaseCallback
PhaseNetwork
PhaseRunning
PhaseTerminate
PhaseDisconnect
PhaseFailed
Trait Implementations§
Source§impl EspEventDeserializer for PppEvent
impl EspEventDeserializer for PppEvent
Source§impl EspEventSource for PppEvent
impl EspEventSource for PppEvent
impl Copy for PppEvent
Auto Trait Implementations§
impl Freeze for PppEvent
impl RefUnwindSafe for PppEvent
impl Send for PppEvent
impl Sync for PppEvent
impl Unpin for PppEvent
impl UnwindSafe for PppEvent
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
)