Struct binder_rust::Binder [−][src]
Structure representing an open Binder interface.
Implementations
impl Binder
[src]
pub fn new() -> Self
[src]
pub fn enter_looper(&self)
[src]
Tell binder that we are entering the looper
pub fn add_ref(&mut self, handle: i32)
[src]
Increment the server side reference count of the given handle. Note that this request is queued and only actually perfomed with the next outgoing transaction.
pub fn dec_ref(&mut self, handle: i32)
[src]
Decrement the server side reference count of the given handle. Note that this request is queued and only actually perfomed with the next outgoing transaction.
pub fn acquire(&mut self, handle: i32)
[src]
Acquire the server side resource for the given handle. Note that this request is queued and only actually perfomed with the next outgoing transaction.
pub fn release(&mut self, handle: i32)
[src]
Release the server side resource for the given handle. Note that this request is queued and only actually perfomed with the next outgoing transaction.
pub fn transact(
&mut self,
handle: i32,
code: u32,
flags: TransactionFlags,
data: &mut Parcel
) -> (Option<BinderTransactionData>, Parcel)
[src]
&mut self,
handle: i32,
code: u32,
flags: TransactionFlags,
data: &mut Parcel
) -> (Option<BinderTransactionData>, Parcel)
pub fn reply(
&mut self,
data: &mut Parcel,
flags: TransactionFlags
) -> (Option<BinderTransactionData>, Parcel)
[src]
&mut self,
data: &mut Parcel,
flags: TransactionFlags
) -> (Option<BinderTransactionData>, Parcel)
pub fn do_write_read(
&mut self,
parcel_out: &mut Parcel
) -> (Option<BinderTransactionData>, Parcel)
[src]
&mut self,
parcel_out: &mut Parcel
) -> (Option<BinderTransactionData>, Parcel)
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Binder
impl !Send for Binder
impl !Sync for Binder
impl Unpin for Binder
impl UnwindSafe for Binder
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,