pub(crate) struct ProxyInner<'a> {
inner_without_borrows: ProxyInnerStatic,
pub(crate) destination: BusName<'a>,
pub(crate) path: ObjectPath<'a>,
pub(crate) interface: InterfaceName<'a>,
property_cache: Option<OnceLock<(Arc<PropertiesCache>, Task<()>)>>,
uncached_properties: HashSet<Str<'a>>,
}Fields§
§inner_without_borrows: ProxyInnerStatic§destination: BusName<'a>§path: ObjectPath<'a>§interface: InterfaceName<'a>§property_cache: Option<OnceLock<(Arc<PropertiesCache>, Task<()>)>>Cache of property values.
uncached_properties: HashSet<Str<'a>>Set of properties which do not get cached, by name. This overrides proxy-level caching behavior.
Implementations§
Source§impl<'a> ProxyInner<'a>
impl<'a> ProxyInner<'a>
pub(crate) fn new( conn: Connection, destination: BusName<'a>, path: ObjectPath<'a>, interface: InterfaceName<'a>, cache: CacheProperties, uncached_properties: HashSet<Str<'a>>, ) -> Self
Sourcepub(crate) async fn subscribe_dest_owner_change(&self) -> Result<()>
pub(crate) async fn subscribe_dest_owner_change(&self) -> Result<()>
Subscribe to the “NameOwnerChanged” signal on the bus for our destination.
If the destination is a unique name, we will not subscribe to the signal.
Trait Implementations§
Auto Trait Implementations§
impl<'a> !Freeze for ProxyInner<'a>
impl<'a> !RefUnwindSafe for ProxyInner<'a>
impl<'a> Send for ProxyInner<'a>
impl<'a> Sync for ProxyInner<'a>
impl<'a> Unpin for ProxyInner<'a>
impl<'a> !UnwindSafe for ProxyInner<'a>
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