pub struct BpMicrofuchsia { /* private fields */ }
Expand description

A binder Proxy that holds an IMicrofuchsia remote interface.

Trait Implementations§

Source§

impl IMicrofuchsia for BpMicrofuchsia

Source§

impl<P: BinderAsyncPool> IMicrofuchsiaAsync<P> for BpMicrofuchsia

Source§

impl Interface for BpMicrofuchsia

Source§

fn as_binder(&self) -> SpIBinder

Convert this binder object into a generic SpIBinder reference.
Source§

fn dump( &self, _writer: &mut dyn Write, _args: &[&CStr], ) -> Result<(), android_c_interface_StatusCode>

Dump transaction handler for this Binder object. Read more
Source§

impl Proxy for BpMicrofuchsia

Source§

fn get_descriptor() -> &'static str

The Binder interface descriptor string. Read more
Source§

fn from_binder(binder: SpIBinder) -> Result<Self, StatusCode>

Create a new interface from the given proxy, if it matches the expected type of this interface.

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Downcast for T
where T: Any,

§

fn into_any(self: Box<T>) -> Box<dyn Any>

Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
§

fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
§

fn as_any(&self) -> &(dyn Any + 'static)

Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot generate &Any’s vtable from &Trait’s.
§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot generate &mut Any’s vtable from &mut Trait’s.
§

impl<T> DowncastSync for T
where T: Any + Send + Sync,

§

fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> IBinder for T
where T: AsNative<AIBinder>,

Register the recipient for a notification if this binder goes away. If this binder object unexpectedly goes away (typically because its hosting process has been killed), then the DeathRecipient’s callback will be called. Read more
Remove a previously registered death notification. The recipient will no longer be called if this object dies.
Source§

fn ping_binder(&mut self) -> Result<(), android_c_interface_StatusCode>

Send a ping transaction to this object
Source§

impl<T> IBinderInternal for T
where T: AsNative<AIBinder>,

Source§

fn prepare_transact(&self) -> Result<Parcel, android_c_interface_StatusCode>

Create a Parcel that can be used with submit_transact.
Source§

fn submit_transact( &self, code: u32, data: Parcel, flags: u32, ) -> Result<Parcel, android_c_interface_StatusCode>

Perform a generic operation with the object. Read more
Source§

fn is_binder_alive(&self) -> bool

Is this object still alive?
Source§

fn set_requesting_sid(&mut self, enable: bool)

Indicate that the service intends to receive caller security contexts.
Source§

fn dump<F>( &mut self, fp: &F, args: &[&str], ) -> Result<(), android_c_interface_StatusCode>
where F: AsRawFd,

Dump this object to the given file handle
Source§

fn get_extension( &mut self, ) -> Result<Option<SpIBinder>, android_c_interface_StatusCode>

Get a new interface that exposes additional extension functionality, if available.
Source§

fn transact<F>( &self, code: u32, flags: u32, input_callback: F, ) -> Result<Parcel, android_c_interface_StatusCode>

Perform a generic operation with the object. This is a convenience method that internally calls prepare_transact followed by `submit_transact. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.