pub trait ITrustedApp: Interface + Send {
// Required method
fn openSession(
&self,
_arg_params: &_7_android_6_system_12_microfuchsia_11_trusted_app_12_ParameterSet,
_arg_result: &mut _7_android_6_system_12_microfuchsia_11_trusted_app_8_OpResult,
) -> Result<Strong<dyn _7_android_6_system_12_microfuchsia_11_trusted_app_18_ITrustedAppSession>>;
// Provided methods
fn get_descriptor() -> &'static str
where Self: Sized { ... }
fn getDefaultImpl() -> ITrustedAppDefaultRef
where Self: Sized { ... }
fn setDefaultImpl(d: ITrustedAppDefaultRef) -> ITrustedAppDefaultRef
where Self: Sized { ... }
fn try_as_async_server<'a>(
&'a self,
) -> Option<&'a (dyn ITrustedAppAsyncServer + Send + Sync)> { ... }
}
Required Methods§
fn openSession( &self, _arg_params: &_7_android_6_system_12_microfuchsia_11_trusted_app_12_ParameterSet, _arg_result: &mut _7_android_6_system_12_microfuchsia_11_trusted_app_8_OpResult, ) -> Result<Strong<dyn _7_android_6_system_12_microfuchsia_11_trusted_app_18_ITrustedAppSession>>
Provided Methods§
fn get_descriptor() -> &'static strwhere
Self: Sized,
fn getDefaultImpl() -> ITrustedAppDefaultRefwhere
Self: Sized,
fn setDefaultImpl(d: ITrustedAppDefaultRef) -> ITrustedAppDefaultRefwhere
Self: Sized,
fn try_as_async_server<'a>( &'a self, ) -> Option<&'a (dyn ITrustedAppAsyncServer + Send + Sync)>
Trait Implementations§
Source§impl Debug for dyn ITrustedApp + '_
impl Debug for dyn ITrustedApp + '_
Source§impl FromIBinder for dyn ITrustedApp
impl FromIBinder for dyn ITrustedApp
Source§fn try_from(ibinder: SpIBinder) -> Result<Strong<dyn ITrustedApp>, StatusCode>
fn try_from(ibinder: SpIBinder) -> Result<Strong<dyn ITrustedApp>, StatusCode>
Try to interpret a generic Binder object as this interface. Read more
Source§impl Serialize for dyn ITrustedApp + '_where
dyn ITrustedApp: Interface,
impl Serialize for dyn ITrustedApp + '_where
dyn ITrustedApp: Interface,
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 SerializeOption for dyn ITrustedApp + '_
impl SerializeOption for dyn ITrustedApp + '_
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> ToAsyncInterface<P> for dyn ITrustedApp
impl<P: BinderAsyncPool + 'static> ToAsyncInterface<P> for dyn ITrustedApp
Source§type Target = dyn ITrustedAppAsync<P>
type Target = dyn ITrustedAppAsync<P>
The async interface associated with this sync interface.
Source§impl ToOwned for dyn ITrustedApp
impl ToOwned for dyn ITrustedApp
Convert a &dyn $interface to Strong<dyn $interface>
Source§type Owned = Strong<dyn ITrustedApp>
type Owned = Strong<dyn ITrustedApp>
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