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