pub enum BinderThreadRequest {
Ioctl {
request: u32,
arg: u64,
vmo: Vmo,
ioctl_reads: Vec<IoctlReadWrite>,
files: Vec<FileHandle>,
responder: BinderThreadIoctlResponder,
},
#[non_exhaustive] _UnknownMethod {
ordinal: u64,
control_handle: BinderThreadControlHandle,
method_type: MethodType,
},
}Expand description
Dedicated per-thread Binder channel for synchronous 1:1 IPC.
Variants§
Ioctl
Processes a Binder ioctl on a dedicated worker thread.
Fields
§
ioctl_reads: Vec<IoctlReadWrite>§
files: Vec<FileHandle>§
responder: BinderThreadIoctlResponder#[non_exhaustive]_UnknownMethod
An interaction was received which does not match any known method.
Fields
This variant is marked as non-exhaustive
Non-exhaustive enum variants could have additional fields added in future. Therefore, non-exhaustive enum variants cannot be constructed in external crates and cannot be matched against.
§
control_handle: BinderThreadControlHandle§
method_type: MethodTypeImplementations§
Source§impl BinderThreadRequest
impl BinderThreadRequest
pub fn into_ioctl( self, ) -> Option<(u32, u64, Vmo, Vec<IoctlReadWrite>, Vec<FileHandle>, BinderThreadIoctlResponder)>
Sourcepub fn method_name(&self) -> &'static str
pub fn method_name(&self) -> &'static str
Name of the method defined in FIDL
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for BinderThreadRequest
impl !UnwindSafe for BinderThreadRequest
impl Freeze for BinderThreadRequest
impl Send for BinderThreadRequest
impl Sync for BinderThreadRequest
impl Unpin for BinderThreadRequest
impl UnsafeUnpin for BinderThreadRequest
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