pub struct PrinterAdded(/* private fields */);Available on crate feature
zbus-backend only.Expand description
A PrinterAdded signal.
Implementations§
Source§impl PrinterAdded
impl PrinterAdded
Sourcepub fn from_message<M>(msg: M) -> Option<Self>
pub fn from_message<M>(msg: M) -> Option<Self>
Try to construct a
PrinterAdded
from a zbus::Message.
Sourcepub fn message(&self) -> &Message
pub fn message(&self) -> &Message
The reference to the underlying zbus::Message.
Source§impl PrinterAdded
impl PrinterAdded
Sourcepub fn args<'s>(&'s self) -> Result<PrinterAddedArgs<'s>>
pub fn args<'s>(&'s self) -> Result<PrinterAddedArgs<'s>>
Retrieve the signal arguments.
Trait Implementations§
Source§impl Clone for PrinterAdded
impl Clone for PrinterAdded
Source§fn clone(&self) -> PrinterAdded
fn clone(&self) -> PrinterAdded
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 moreSource§impl Debug for PrinterAdded
impl Debug for PrinterAdded
Source§impl From<PrinterAdded> for Message
impl From<PrinterAdded> for Message
Source§fn from(signal: PrinterAdded) -> Self
fn from(signal: PrinterAdded) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for PrinterAdded
impl RefUnwindSafe for PrinterAdded
impl Send for PrinterAdded
impl Sync for PrinterAdded
impl Unpin for PrinterAdded
impl UnsafeUnpin for PrinterAdded
impl UnwindSafe for PrinterAdded
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