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§
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 Methods§
fn get_descriptor() -> &'static strwhere
Self: Sized,
Trait Implementations§
Source§impl<P: BinderAsyncPool + 'static> Debug for dyn ITrustedAppAsync<P> + '_
impl<P: BinderAsyncPool + 'static> Debug for dyn ITrustedAppAsync<P> + '_
Source§impl<P: BinderAsyncPool + 'static> FromIBinder for dyn ITrustedAppAsync<P>
impl<P: BinderAsyncPool + 'static> FromIBinder for dyn ITrustedAppAsync<P>
Source§fn try_from(
ibinder: SpIBinder,
) -> Result<Strong<dyn ITrustedAppAsync<P>>, StatusCode>
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> + '_
impl<P: BinderAsyncPool + 'static> Serialize for dyn ITrustedAppAsync<P> + '_
Source§fn serialize(&self, parcel: &mut BorrowedParcel<'_>) -> Result<(), StatusCode>
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> + '_
impl<P: BinderAsyncPool + 'static> SerializeOption for dyn ITrustedAppAsync<P> + '_
Source§fn serialize_option(
this: Option<&Self>,
parcel: &mut BorrowedParcel<'_>,
) -> Result<(), StatusCode>
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>
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>>
type Owned = Strong<dyn ITrustedAppAsync<P>>
The resulting type after obtaining ownership.
Source§fn to_owned(&self) -> Self::Owned
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)
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>
impl<P: BinderAsyncPool + 'static> ToSyncInterface for dyn ITrustedAppAsync<P>
Source§type Target = dyn ITrustedApp
type Target = dyn ITrustedApp
The sync interface associated with this async interface.