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