Trait atspi_proxies::accessible::ObjectRefExt
source · pub trait ObjectRefExt {
// Required method
fn as_accessible_proxy(
&self,
conn: &Connection
) -> impl Future<Output = Result<AccessibleProxy<'_>, Error>> + Send;
}
Required Methods§
sourcefn as_accessible_proxy(
&self,
conn: &Connection
) -> impl Future<Output = Result<AccessibleProxy<'_>, Error>> + Send
fn as_accessible_proxy( &self, conn: &Connection ) -> impl Future<Output = Result<AccessibleProxy<'_>, Error>> + Send
Returns an AccessibleProxy
, the handle to the object’s Accessible
interface.
§Errors
UniqueName
or ObjectPath
are assumed to be valid because they are obtained from a valid ObjectRef
.
If the builder is lacking the necessary parameters to build a proxy. See zbus::ProxyBuilder::build
.
If this method fails, you may want to check the AccessibleProxy
default values for missing / invalid parameters.
Object Safety§
This trait is not object safe.