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