pub struct MessageHandler1Proxy<'p>(/* private fields */);Implementations§
Source§impl<'p> MessageHandler1Proxy<'p>
impl<'p> MessageHandler1Proxy<'p>
Sourcepub async fn new(conn: &Connection) -> Result<MessageHandler1Proxy<'p>>
pub async fn new(conn: &Connection) -> Result<MessageHandler1Proxy<'p>>
Creates a new proxy with the default service and path.
Sourcepub fn builder(conn: &Connection) -> Builder<'p, Self>
pub fn builder(conn: &Connection) -> Builder<'p, Self>
Returns a customizable builder for this proxy.
Sourcepub fn into_inner(self) -> Proxy<'p>
pub fn into_inner(self) -> Proxy<'p>
Consumes self, returning the underlying zbus::Proxy.
Sourcepub fn inner_mut(&mut self) -> &mut Proxy<'p>
pub fn inner_mut(&mut self) -> &mut Proxy<'p>
The mutable reference to the underlying zbus::Proxy.
Sourcepub async fn handle_message(
&self,
device: &ObjectPath<'_>,
initiator: u8,
destination: u8,
timestamp: u64,
message: &[u8],
) -> Result<(bool, u8)>
pub async fn handle_message( &self, device: &ObjectPath<'_>, initiator: u8, destination: u8, timestamp: u64, message: &[u8], ) -> Result<(bool, u8)>
HandleMessage method
Trait Implementations§
Source§impl<'p> AsMut<Proxy<'p>> for MessageHandler1Proxy<'p>
impl<'p> AsMut<Proxy<'p>> for MessageHandler1Proxy<'p>
Source§impl<'p> AsRef<Proxy<'p>> for MessageHandler1Proxy<'p>
impl<'p> AsRef<Proxy<'p>> for MessageHandler1Proxy<'p>
Source§impl<'p> Clone for MessageHandler1Proxy<'p>
impl<'p> Clone for MessageHandler1Proxy<'p>
Source§fn clone(&self) -> MessageHandler1Proxy<'p>
fn clone(&self) -> MessageHandler1Proxy<'p>
Returns a duplicate 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<'p> Debug for MessageHandler1Proxy<'p>
impl<'p> Debug for MessageHandler1Proxy<'p>
Source§impl<'a> Defaults for MessageHandler1Proxy<'a>
impl<'a> Defaults for MessageHandler1Proxy<'a>
const INTERFACE: &'static Option<InterfaceName<'static>>
const DESTINATION: &'static Option<BusName<'static>>
const PATH: &'static Option<ObjectPath<'static>>
Source§impl<'p> From<Proxy<'p>> for MessageHandler1Proxy<'p>
impl<'p> From<Proxy<'p>> for MessageHandler1Proxy<'p>
Source§impl<'p> ProxyImpl<'p> for MessageHandler1Proxy<'p>
impl<'p> ProxyImpl<'p> for MessageHandler1Proxy<'p>
Source§impl<'p> Serialize for MessageHandler1Proxy<'p>
impl<'p> Serialize for MessageHandler1Proxy<'p>
Auto Trait Implementations§
impl<'p> Freeze for MessageHandler1Proxy<'p>
impl<'p> !RefUnwindSafe for MessageHandler1Proxy<'p>
impl<'p> Send for MessageHandler1Proxy<'p>
impl<'p> Sync for MessageHandler1Proxy<'p>
impl<'p> Unpin for MessageHandler1Proxy<'p>
impl<'p> UnsafeUnpin for MessageHandler1Proxy<'p>
impl<'p> !UnwindSafe for MessageHandler1Proxy<'p>
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