pub enum BinderRequest {
SetVmo {
vmo: Vmo,
mapped_address: u64,
control_handle: BinderControlHandle,
},
Ioctl {
tid: u64,
request: u32,
parameter: u64,
responder: BinderIoctlResponder,
},
}
Expand description
An opened connection to a binder driver.
Variants§
SetVmo
Set the VMO to used as a share resource between the driver and the
client. mapped_address
is the address where the vmo is mapped in the
client address space.
Ioctl
Implementations§
source§impl BinderRequest
impl BinderRequest
pub fn into_set_vmo(self) -> Option<(Vmo, u64, BinderControlHandle)>
pub fn into_ioctl(self) -> Option<(u64, u32, u64, BinderIoctlResponder)>
sourcepub fn method_name(&self) -> &'static str
pub fn method_name(&self) -> &'static str
Name of the method defined in FIDL