pub struct ConfigProxyBlocking<'p>(/* private fields */);
Implementations§
Source§impl<'p> ConfigProxyBlocking<'p>
impl<'p> ConfigProxyBlocking<'p>
Sourcepub fn new<P>(conn: &Connection, path: P) -> Result<ConfigProxyBlocking<'p>>
pub fn new<P>(conn: &Connection, path: P) -> Result<ConfigProxyBlocking<'p>>
Creates a new proxy with the given path, and the default destination.
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 fn receive_changed(&self) -> Result<ChangedIterator>
pub fn receive_changed(&self) -> Result<ChangedIterator>
Create a stream that receives Changed
signals.
This a convenient wrapper around zbus::blocking::Proxy::receive_signal
.
Changed signal
Sourcepub fn receive_changed_with_args(
&self,
args: &[(u8, &str)],
) -> Result<ChangedIterator>
pub fn receive_changed_with_args( &self, args: &[(u8, &str)], ) -> Result<ChangedIterator>
Create a stream that receives Changed
signals.
This a convenient wrapper around zbus::blocking::Proxy::receive_signal_with_args
.
Changed signal
Trait Implementations§
Source§impl<'p> AsMut<Proxy<'p>> for ConfigProxyBlocking<'p>
impl<'p> AsMut<Proxy<'p>> for ConfigProxyBlocking<'p>
Source§impl<'p> AsRef<Proxy<'p>> for ConfigProxyBlocking<'p>
impl<'p> AsRef<Proxy<'p>> for ConfigProxyBlocking<'p>
Source§impl<'p> Clone for ConfigProxyBlocking<'p>
impl<'p> Clone for ConfigProxyBlocking<'p>
Source§fn clone(&self) -> ConfigProxyBlocking<'p>
fn clone(&self) -> ConfigProxyBlocking<'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 ConfigProxyBlocking<'p>
impl<'p> Debug for ConfigProxyBlocking<'p>
Source§impl<'a> Defaults for ConfigProxyBlocking<'a>
impl<'a> Defaults for ConfigProxyBlocking<'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 ConfigProxyBlocking<'p>
impl<'p> From<Proxy<'p>> for ConfigProxyBlocking<'p>
Source§impl<'p> ProxyImpl<'p> for ConfigProxyBlocking<'p>
impl<'p> ProxyImpl<'p> for ConfigProxyBlocking<'p>
Source§impl<'p> Serialize for ConfigProxyBlocking<'p>
impl<'p> Serialize for ConfigProxyBlocking<'p>
Auto Trait Implementations§
impl<'p> Freeze for ConfigProxyBlocking<'p>
impl<'p> !RefUnwindSafe for ConfigProxyBlocking<'p>
impl<'p> Send for ConfigProxyBlocking<'p>
impl<'p> Sync for ConfigProxyBlocking<'p>
impl<'p> Unpin for ConfigProxyBlocking<'p>
impl<'p> !UnwindSafe for ConfigProxyBlocking<'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