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