pub trait IMicrofuchsiaAsync<P>: Interface + Send {
// Required methods
fn setHostProxy<'a>(
&'a self,
_arg_proxy: &'a Strong<dyn _7_android_6_system_12_microfuchsia_10_vm_service_10_IHostProxy>,
) -> BoxFuture<'a, Result<()>>;
fn trustedAppUuids<'a>(&'a self) -> BoxFuture<'a, Result<Vec<String>>>;
// Provided method
fn get_descriptor() -> &'static str
where Self: Sized { ... }
}
Required Methods§
fn setHostProxy<'a>( &'a self, _arg_proxy: &'a Strong<dyn _7_android_6_system_12_microfuchsia_10_vm_service_10_IHostProxy>, ) -> BoxFuture<'a, Result<()>>
fn trustedAppUuids<'a>(&'a self) -> BoxFuture<'a, Result<Vec<String>>>
Provided Methods§
fn get_descriptor() -> &'static strwhere
Self: Sized,
Trait Implementations§
Source§impl<P: BinderAsyncPool + 'static> Debug for dyn IMicrofuchsiaAsync<P> + '_
impl<P: BinderAsyncPool + 'static> Debug for dyn IMicrofuchsiaAsync<P> + '_
Source§impl<P: BinderAsyncPool + 'static> FromIBinder for dyn IMicrofuchsiaAsync<P>
impl<P: BinderAsyncPool + 'static> FromIBinder for dyn IMicrofuchsiaAsync<P>
Source§fn try_from(
ibinder: SpIBinder,
) -> Result<Strong<dyn IMicrofuchsiaAsync<P>>, StatusCode>
fn try_from( ibinder: SpIBinder, ) -> Result<Strong<dyn IMicrofuchsiaAsync<P>>, StatusCode>
Try to interpret a generic Binder object as this interface. Read more
Source§impl<P: BinderAsyncPool + 'static> Serialize for dyn IMicrofuchsiaAsync<P> + '_
impl<P: BinderAsyncPool + 'static> Serialize for dyn IMicrofuchsiaAsync<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 IMicrofuchsiaAsync<P> + '_
impl<P: BinderAsyncPool + 'static> SerializeOption for dyn IMicrofuchsiaAsync<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 IMicrofuchsiaAsync<P>
impl<P: BinderAsyncPool + 'static> ToOwned for dyn IMicrofuchsiaAsync<P>
Convert a &dyn $async_interface to Strong<dyn $async_interface>
Source§type Owned = Strong<dyn IMicrofuchsiaAsync<P>>
type Owned = Strong<dyn IMicrofuchsiaAsync<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 IMicrofuchsiaAsync<P>
impl<P: BinderAsyncPool + 'static> ToSyncInterface for dyn IMicrofuchsiaAsync<P>
Source§type Target = dyn IMicrofuchsia
type Target = dyn IMicrofuchsia
The sync interface associated with this async interface.