pub trait IHostProxy: Interface + Send {
    // Provided methods
    fn get_descriptor() -> &'static str
       where Self: Sized { ... }
    fn getDefaultImpl() -> IHostProxyDefaultRef
       where Self: Sized { ... }
    fn setDefaultImpl(d: IHostProxyDefaultRef) -> IHostProxyDefaultRef
       where Self: Sized { ... }
    fn try_as_async_server<'a>(
        &'a self,
    ) -> Option<&'a (dyn IHostProxyAsyncServer + Send + Sync)> { ... }
}

Provided Methods§

Trait Implementations§

Source§

impl Debug for dyn IHostProxy + '_

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl FromIBinder for dyn IHostProxy

Source§

fn try_from(ibinder: SpIBinder) -> Result<Strong<dyn IHostProxy>, StatusCode>

Try to interpret a generic Binder object as this interface. Read more
Source§

impl Serialize for dyn IHostProxy + '_
where dyn IHostProxy: Interface,

Source§

fn serialize(&self, parcel: &mut BorrowedParcel<'_>) -> Result<(), StatusCode>

Serialize this instance into the given crate::parcel::Parcel.
Source§

impl SerializeOption for dyn IHostProxy + '_

Source§

fn serialize_option( this: Option<&Self>, parcel: &mut BorrowedParcel<'_>, ) -> Result<(), StatusCode>

Serialize an Option of this type into the given parcel.
Source§

impl<P: BinderAsyncPool + 'static> ToAsyncInterface<P> for dyn IHostProxy

Source§

type Target = dyn IHostProxyAsync<P>

The async interface associated with this sync interface.
Source§

impl ToOwned for dyn IHostProxy

Convert a &dyn $interface to Strong<dyn $interface>

Source§

type Owned = Strong<dyn IHostProxy>

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> Self::Owned

Creates owned data from borrowed data, usually by cloning. Read more
1.63.0 · Source§

fn clone_into(&self, target: &mut Self::Owned)

Uses borrowed data to replace owned data, usually by cloning. Read more

Implementations on Foreign Types§

Source§

impl IHostProxy for Binder<BnHostProxy>

Implementors§