pub trait ITrustedAppSessionAsync<P>: Interface + Send {
    // Required method
    fn invokeCommand<'a>(
        &'a self,
        _arg_commandID: i32,
        _arg_params: &'a _7_android_6_system_12_microfuchsia_11_trusted_app_12_ParameterSet,
    ) -> BoxFuture<'a, Result<_7_android_6_system_12_microfuchsia_11_trusted_app_8_OpResult>>;

    // 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 ITrustedAppSessionAsync<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 ITrustedAppSessionAsync<P>

Source§

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

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

impl<P: BinderAsyncPool + 'static> Serialize for dyn ITrustedAppSessionAsync<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 ITrustedAppSessionAsync<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 ITrustedAppSessionAsync<P>

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

Source§

type Owned = Strong<dyn ITrustedAppSessionAsync<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 ITrustedAppSessionAsync<P>

Source§

type Target = dyn ITrustedAppSession

The sync interface associated with this async interface.

Implementors§