pub trait ObjectRefExt {
// Required methods
fn as_accessible_proxy(
&self,
conn: &Connection,
) -> impl Future<Output = Result<AccessibleProxy<'_>, AtspiError>> + Send;
fn into_accessible_proxy(
self,
conn: &Connection,
) -> impl Future<Output = Result<AccessibleProxy<'_>, AtspiError>> + Send;
}Required Methods§
Sourcefn as_accessible_proxy(
&self,
conn: &Connection,
) -> impl Future<Output = Result<AccessibleProxy<'_>, AtspiError>> + Send
fn as_accessible_proxy( &self, conn: &Connection, ) -> impl Future<Output = Result<AccessibleProxy<'_>, AtspiError>> + Send
Returns an AccessibleProxy, the handle to the object’s Accessible interface.
§Errors
If the ObjectRef is null, this method returns an error.
Users are advised to check if the ObjectRef is null before calling this method.
Sourcefn into_accessible_proxy(
self,
conn: &Connection,
) -> impl Future<Output = Result<AccessibleProxy<'_>, AtspiError>> + Send
fn into_accessible_proxy( self, conn: &Connection, ) -> impl Future<Output = Result<AccessibleProxy<'_>, AtspiError>> + Send
Returns an AccessibleProxy, the handle to the object’s Accessible interface.
§Errors
If the ObjectRef is null, this method returns an error.
Users are advised to check if the ObjectRef is null before calling this method.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.