pub trait BinderProxyInterface: Send + Sync {
type IoctlResponseFut: Future<Output = Result<BinderIoctlResult, Error>> + Send;
// Required methods
fn set_vmo(&self, vmo: Vmo, mapped_address: u64) -> Result<(), Error>;
fn ioctl(
&self,
tid: u64,
request: u32,
arg: u64,
vmo: Vmo,
ioctl_reads: &[IoctlReadWrite],
files: Vec<FileHandle>,
) -> Self::IoctlResponseFut;
}Required Associated Types§
type IoctlResponseFut: Future<Output = Result<BinderIoctlResult, Error>> + Send
Required Methods§
fn set_vmo(&self, vmo: Vmo, mapped_address: u64) -> Result<(), Error>
fn ioctl( &self, tid: u64, request: u32, arg: u64, vmo: Vmo, ioctl_reads: &[IoctlReadWrite], files: Vec<FileHandle>, ) -> Self::IoctlResponseFut
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".