pub struct VpnConnectionStateChangedEvent {
pub state: NMVpnConnectionState,
pub reason: NMVpnConnectionStateReason,
}Expand description
Event emitted when the state of the VPN connection has changed.
Fields§
§state: NMVpnConnectionStateThe new VPN connection state.
reason: NMVpnConnectionStateReasonThe reason for the state change.
Auto Trait Implementations§
impl Freeze for VpnConnectionStateChangedEvent
impl RefUnwindSafe for VpnConnectionStateChangedEvent
impl Send for VpnConnectionStateChangedEvent
impl Sync for VpnConnectionStateChangedEvent
impl Unpin for VpnConnectionStateChangedEvent
impl UnsafeUnpin for VpnConnectionStateChangedEvent
impl UnwindSafe for VpnConnectionStateChangedEvent
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more