Struct logind_zbus::manager::SessionRemoved
source · pub struct SessionRemoved(/* private fields */);
Expand description
A SessionRemoved
signal.
Implementations§
source§impl SessionRemoved
impl SessionRemoved
sourcepub fn from_message<M>(msg: M) -> Option<Self>
pub fn from_message<M>(msg: M) -> Option<Self>
Try to construct a
SessionRemoved
from a zbus::Message
.
sourcepub fn message(&self) -> &Message
pub fn message(&self) -> &Message
The reference to the underlying zbus::Message
.
source§impl SessionRemoved
impl SessionRemoved
sourcepub fn args<'s>(&'s self) -> Result<SessionRemovedArgs<'s>>
pub fn args<'s>(&'s self) -> Result<SessionRemovedArgs<'s>>
Retrieve the signal arguments.
Trait Implementations§
source§impl Clone for SessionRemoved
impl Clone for SessionRemoved
source§fn clone(&self) -> SessionRemoved
fn clone(&self) -> SessionRemoved
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for SessionRemoved
impl Debug for SessionRemoved
source§impl From<SessionRemoved> for Message
impl From<SessionRemoved> for Message
source§fn from(signal: SessionRemoved) -> Self
fn from(signal: SessionRemoved) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SessionRemoved
impl RefUnwindSafe for SessionRemoved
impl Send for SessionRemoved
impl Sync for SessionRemoved
impl Unpin for SessionRemoved
impl UnwindSafe for SessionRemoved
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