Struct UnitNew
pub struct UnitNew(Body);Expand description
A UnitNew signal.
Tuple Fields§
§0: BodyImplementations§
§impl UnitNew
impl UnitNew
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
UnitNew
from a [zbus::Message].
pub fn message(&self) -> &Message
pub fn message(&self) -> &Message
The reference to the underlying [zbus::Message].
§impl UnitNew
impl UnitNew
pub fn args<'s>(&'s self) -> Result<UnitNewArgs<'s>>
pub fn args<'s>(&'s self) -> Result<UnitNewArgs<'s>>
Retrieve the signal arguments.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for UnitNew
impl RefUnwindSafe for UnitNew
impl Send for UnitNew
impl Sync for UnitNew
impl Unpin for UnitNew
impl UnsafeUnpin for UnitNew
impl UnwindSafe for UnitNew
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