pub struct PushReport<Prev: Rec> { /* private fields */ }Available on crate feature
binder only.Implementations§
Source§impl<Prev: Rec> PushReport<Prev>
impl<Prev: Rec> PushReport<Prev>
pub fn new(prev: Prev) -> Self
pub fn end_nested(self) -> Prev
Sourcepub fn push_error(self, value: u32) -> Self
pub fn push_error(self, value: u32) -> Self
The enum binder_driver_return_protocol returned to the sender.
Sourcepub fn push_context(self, value: &CStr) -> Self
pub fn push_context(self, value: &CStr) -> Self
The binder context where the transaction occurred.
Sourcepub fn push_context_bytes(self, value: &[u8]) -> Self
pub fn push_context_bytes(self, value: &[u8]) -> Self
The binder context where the transaction occurred.
Sourcepub fn push_from_pid(self, value: u32) -> Self
pub fn push_from_pid(self, value: u32) -> Self
The PID of the sender process.
Sourcepub fn push_from_tid(self, value: u32) -> Self
pub fn push_from_tid(self, value: u32) -> Self
The TID of the sender thread.
Sourcepub fn push_to_pid(self, value: u32) -> Self
pub fn push_to_pid(self, value: u32) -> Self
The PID of the recipient process. This attribute may not be present if the target could not be determined.
Sourcepub fn push_to_tid(self, value: u32) -> Self
pub fn push_to_tid(self, value: u32) -> Self
The TID of the recipient thread. This attribute may not be present if the target could not be determined.
Sourcepub fn push_is_reply(self, value: ()) -> Self
pub fn push_is_reply(self, value: ()) -> Self
When present, indicates the failed transaction is a reply.
Sourcepub fn push_flags(self, value: u32) -> Self
pub fn push_flags(self, value: u32) -> Self
The bitmask of enum transaction_flags from the transaction.
Sourcepub fn push_data_size(self, value: u32) -> Self
pub fn push_data_size(self, value: u32) -> Self
The transaction payload size in bytes.
Trait Implementations§
Source§impl<Prev: Rec> Drop for PushReport<Prev>
impl<Prev: Rec> Drop for PushReport<Prev>
Auto Trait Implementations§
impl<Prev> Freeze for PushReport<Prev>where
Prev: Freeze,
impl<Prev> RefUnwindSafe for PushReport<Prev>where
Prev: RefUnwindSafe,
impl<Prev> Send for PushReport<Prev>where
Prev: Send,
impl<Prev> Sync for PushReport<Prev>where
Prev: Sync,
impl<Prev> Unpin for PushReport<Prev>where
Prev: Unpin,
impl<Prev> UnsafeUnpin for PushReport<Prev>where
Prev: UnsafeUnpin,
impl<Prev> UnwindSafe for PushReport<Prev>where
Prev: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more