pub trait ITrustedAppAsync<P>: Interface + Send {
    // Required method
    fn openSession<'a>(
        &'a self,
        _arg_params: &'a _7_android_6_system_12_microfuchsia_11_trusted_app_12_ParameterSet,
        _arg_result: &'a mut _7_android_6_system_12_microfuchsia_11_trusted_app_8_OpResult,
    ) -> BoxFuture<'a, Result<Strong<dyn _7_android_6_system_12_microfuchsia_11_trusted_app_18_ITrustedAppSession>>>;

    // Provided method
    fn get_descriptor() -> &'static str
       where Self: Sized { ... }
}

Required Methods§

Provided Methods§

Source

fn get_descriptor() -> &'static str
where Self: Sized,

Trait Implementations§

Source§

impl<P: BinderAsyncPool + 'static> Debug for dyn ITrustedAppAsync<P> + '_

Source§

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

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

impl<P: BinderAsyncPool + 'static> FromIBinder for dyn ITrustedAppAsync<P>

Source§

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

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

impl<P: BinderAsyncPool + 'static> Serialize for dyn ITrustedAppAsync<P> + '_

Source§

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

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

impl<P: BinderAsyncPool + 'static> SerializeOption for dyn ITrustedAppAsync<P> + '_

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> ToOwned for dyn ITrustedAppAsync<P>

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

Source§

type Owned = Strong<dyn ITrustedAppAsync<P>>

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
Source§

impl<P: BinderAsyncPool + 'static> ToSyncInterface for dyn ITrustedAppAsync<P>

Source§

type Target = dyn ITrustedApp

The sync interface associated with this async interface.

Implementors§