pub struct DeviceStateChangedEvent {
pub new_state: NMDeviceState,
pub old_state: NMDeviceState,
pub reason: NMDeviceStateReason,
}Expand description
Event emitted when a device’s state changes.
Fields§
§new_state: NMDeviceStateThe new device state.
old_state: NMDeviceStateThe old device state.
reason: NMDeviceStateReasonThe reason for the state change.
Auto Trait Implementations§
impl Freeze for DeviceStateChangedEvent
impl RefUnwindSafe for DeviceStateChangedEvent
impl Send for DeviceStateChangedEvent
impl Sync for DeviceStateChangedEvent
impl Unpin for DeviceStateChangedEvent
impl UnsafeUnpin for DeviceStateChangedEvent
impl UnwindSafe for DeviceStateChangedEvent
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