Struct fidl_fuchsia_starnix_binder::BinderProxy
source · pub struct BinderProxy { /* private fields */ }
Implementations§
source§impl BinderProxy
impl BinderProxy
sourcepub fn take_event_stream(&self) -> BinderEventStream
pub fn take_event_stream(&self) -> BinderEventStream
Get a Stream of events from the remote end of the Binder protocol
Panics
Panics if the event stream was already taken.
sourcepub fn set_vmo(&self, vmo: Vmo, mapped_address: u64) -> Result<(), Error>
pub fn set_vmo(&self, vmo: Vmo, mapped_address: u64) -> Result<(), Error>
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.
pub fn ioctl( &self, tid: u64, request: u32, parameter: u64 ) -> QueryResponseFut<BinderIoctlResult>
Trait Implementations§
source§impl BinderProxyInterface for BinderProxy
impl BinderProxyInterface for BinderProxy
source§impl Clone for BinderProxy
impl Clone for BinderProxy
source§fn clone(&self) -> BinderProxy
fn clone(&self) -> BinderProxy
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for BinderProxy
impl Debug for BinderProxy
source§impl Proxy for BinderProxy
impl Proxy for BinderProxy
§type Protocol = BinderMarker
type Protocol = BinderMarker
The protocol which this
Proxy
controls.source§fn from_channel(inner: AsyncChannel) -> Self
fn from_channel(inner: AsyncChannel) -> Self
Create a proxy over the given channel.
source§fn into_channel(self) -> Result<AsyncChannel, Self>
fn into_channel(self) -> Result<AsyncChannel, Self>
Attempt to convert the proxy back into a channel. Read more
source§fn as_channel(&self) -> &AsyncChannel
fn as_channel(&self) -> &AsyncChannel
Get a reference to the proxy’s underlying channel. Read more