Struct binder_rust::Binder [−][src]
pub struct Binder { /* fields omitted */ }
Structure representing an open Binder interface.
Implementations
impl Binder
[src]
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 RefUnwindSafe for Binder
impl UnwindSafe for Binder
impl UnwindSafe for Binder