Struct UnitRemoved
pub struct UnitRemoved(Body);Expand description
A UnitRemoved signal.
Tuple Fields§
§0: BodyImplementations§
§impl UnitRemoved
impl UnitRemoved
pub fn from_message<M>(msg: M) -> Option<Self>where
M: Into<Message>,
pub fn from_message<M>(msg: M) -> Option<Self>where
M: Into<Message>,
Try to construct a
UnitRemoved
from a [zbus::Message].
pub fn message(&self) -> &Message
pub fn message(&self) -> &Message
The reference to the underlying [zbus::Message].
§impl UnitRemoved
impl UnitRemoved
pub fn args<'s>(&'s self) -> Result<UnitRemovedArgs<'s>>
pub fn args<'s>(&'s self) -> Result<UnitRemovedArgs<'s>>
Retrieve the signal arguments.
Trait Implementations§
§impl Clone for UnitRemoved
impl Clone for UnitRemoved
§fn clone(&self) -> UnitRemoved
fn clone(&self) -> UnitRemoved
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more§impl Debug for UnitRemoved
impl Debug for UnitRemoved
§impl From<UnitRemoved> for Message
impl From<UnitRemoved> for Message
§fn from(signal: UnitRemoved) -> Self
fn from(signal: UnitRemoved) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for UnitRemoved
impl RefUnwindSafe for UnitRemoved
impl Send for UnitRemoved
impl Sync for UnitRemoved
impl Unpin for UnitRemoved
impl UnsafeUnpin for UnitRemoved
impl UnwindSafe for UnitRemoved
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