pub struct DeviceStateChanged {
pub new_state: u32,
pub old_state: u32,
pub reason: u32,
}
Fields§
§new_state: u32
§old_state: u32
§reason: u32
Trait Implementations§
Source§impl AppendAll for DeviceStateChanged
impl AppendAll for DeviceStateChanged
Source§fn append(&self, i: &mut IterAppend<'_>)
fn append(&self, i: &mut IterAppend<'_>)
Performs the append operation by borrowing self.
Source§impl Debug for DeviceStateChanged
impl Debug for DeviceStateChanged
Source§impl ReadAll for DeviceStateChanged
impl ReadAll for DeviceStateChanged
Source§impl SignalArgs for DeviceStateChanged
impl SignalArgs for DeviceStateChanged
Source§const INTERFACE: &'static str = "org.freedesktop.NetworkManager.Device"
const INTERFACE: &'static str = "org.freedesktop.NetworkManager.Device"
D-Bus name of interface this signal belongs to
Source§fn to_emit_message(&self, path: &Path<'_>) -> Messagewhere
Self: AppendAll,
fn to_emit_message(&self, path: &Path<'_>) -> Messagewhere
Self: AppendAll,
Returns a message that emits the signal.
Source§fn from_message(m: &Message) -> Option<Self>
fn from_message(m: &Message) -> Option<Self>
If the message is a signal of the correct type, return its arguments, otherwise return None. Read more
Auto Trait Implementations§
impl Freeze for DeviceStateChanged
impl RefUnwindSafe for DeviceStateChanged
impl Send for DeviceStateChanged
impl Sync for DeviceStateChanged
impl Unpin for DeviceStateChanged
impl UnwindSafe for DeviceStateChanged
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