pub struct CacheProxy<'p>(/* private fields */);
Implementations§
Source§impl<'p> CacheProxy<'p>
impl<'p> CacheProxy<'p>
Sourcepub async fn new<D>(conn: &Connection, destination: D) -> Result<CacheProxy<'p>>
pub async fn new<D>(conn: &Connection, destination: D) -> Result<CacheProxy<'p>>
Creates a new proxy with the given destination, and the default 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_legacy_items(&self) -> Result<Vec<LegacyCacheItem>>
pub async fn get_legacy_items(&self) -> Result<Vec<LegacyCacheItem>>
GetItems method to support legacy servers (presumably Qt based applications and at-spi2-registryd)
Trait Implementations§
Source§impl<'p> AsMut<Proxy<'p>> for CacheProxy<'p>
impl<'p> AsMut<Proxy<'p>> for CacheProxy<'p>
Source§impl<'p> AsRef<Proxy<'p>> for CacheProxy<'p>
impl<'p> AsRef<Proxy<'p>> for CacheProxy<'p>
Source§impl<'p> Clone for CacheProxy<'p>
impl<'p> Clone for CacheProxy<'p>
Source§fn clone(&self) -> CacheProxy<'p>
fn clone(&self) -> CacheProxy<'p>
Returns a copy 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 CacheProxy<'p>
impl<'p> Debug for CacheProxy<'p>
Source§impl<'a> Defaults for CacheProxy<'a>
impl<'a> Defaults for CacheProxy<'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 CacheProxy<'p>
impl<'p> From<Proxy<'p>> for CacheProxy<'p>
Source§impl<'p> ProxyImpl<'p> for CacheProxy<'p>
impl<'p> ProxyImpl<'p> for CacheProxy<'p>
Source§impl<'p> Serialize for CacheProxy<'p>
impl<'p> Serialize for CacheProxy<'p>
Auto Trait Implementations§
impl<'p> Freeze for CacheProxy<'p>
impl<'p> !RefUnwindSafe for CacheProxy<'p>
impl<'p> Send for CacheProxy<'p>
impl<'p> Sync for CacheProxy<'p>
impl<'p> Unpin for CacheProxy<'p>
impl<'p> !UnwindSafe for CacheProxy<'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