Struct atspi_proxies::bus::BusProxy
source · pub struct BusProxy<'p>(/* private fields */);
Implementations§
source§impl<'p> BusProxy<'p>
impl<'p> BusProxy<'p>
sourcepub async fn new(conn: &Connection) -> Result<BusProxy<'p>>
pub async fn new(conn: &Connection) -> Result<BusProxy<'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 get_address(&self) -> Result<String>
pub async fn get_address(&self) -> Result<String>
GetAddress method
Trait Implementations§
source§impl<'a> ProxyDefault for BusProxy<'a>
impl<'a> ProxyDefault for BusProxy<'a>
Auto Trait Implementations§
impl<'p> Freeze for BusProxy<'p>
impl<'p> !RefUnwindSafe for BusProxy<'p>
impl<'p> Send for BusProxy<'p>
impl<'p> Sync for BusProxy<'p>
impl<'p> Unpin for BusProxy<'p>
impl<'p> !UnwindSafe for BusProxy<'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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> DynamicType for T
impl<T> DynamicType for T
source§fn dynamic_signature(&self) -> Signature<'_>
fn dynamic_signature(&self) -> Signature<'_>
Get the signature for the implementing type. Read more