pub struct MapperSynchronousProxy { /* private fields */ }Implementations§
Source§impl MapperSynchronousProxy
impl MapperSynchronousProxy
pub fn new(channel: Channel) -> Self
pub fn into_channel(self) -> Channel
Sourcepub fn wait_for_event(
&self,
deadline: MonotonicInstant,
) -> Result<MapperEvent, Error>
pub fn wait_for_event( &self, deadline: MonotonicInstant, ) -> Result<MapperEvent, Error>
Waits until an event arrives and returns it. It is safe for other threads to make concurrent requests while waiting for an event.
Sourcepub fn open_session(
&self,
session: ServerEnd<MapperSessionMarker>,
mapping_vmo: Vmo,
port: Option<Port>,
delivery_queue: Option<Vmo>,
___deadline: MonotonicInstant,
) -> Result<MapperOpenSessionResult, Error>
pub fn open_session( &self, session: ServerEnd<MapperSessionMarker>, mapping_vmo: Vmo, port: Option<Port>, delivery_queue: Option<Vmo>, ___deadline: MonotonicInstant, ) -> Result<MapperOpenSessionResult, Error>
Bootstraps the driver mapper with the mapping VMO and verifier handles.
Trait Implementations§
Source§impl Debug for MapperSynchronousProxy
impl Debug for MapperSynchronousProxy
Source§impl From<Channel> for MapperSynchronousProxy
Available on Fuchsia only.
impl From<Channel> for MapperSynchronousProxy
Available on Fuchsia only.
Source§impl From<MapperSynchronousProxy> for NullableHandle
Available on Fuchsia only.
impl From<MapperSynchronousProxy> for NullableHandle
Available on Fuchsia only.
Source§fn from(value: MapperSynchronousProxy) -> Self
fn from(value: MapperSynchronousProxy) -> Self
Converts to this type from the input type.
Source§impl FromClient for MapperSynchronousProxy
Available on Fuchsia only.
impl FromClient for MapperSynchronousProxy
Available on Fuchsia only.
Source§type Protocol = MapperMarker
type Protocol = MapperMarker
The protocol.
Source§fn from_client(value: ClientEnd<MapperMarker>) -> Self
fn from_client(value: ClientEnd<MapperMarker>) -> Self
Converts from a client.
Source§impl SynchronousProxy for MapperSynchronousProxy
Available on Fuchsia only.
impl SynchronousProxy for MapperSynchronousProxy
Available on Fuchsia only.
Source§type Proxy = MapperProxy
type Proxy = MapperProxy
The async proxy for the same protocol.
Source§type Protocol = MapperMarker
type Protocol = MapperMarker
The protocol which this
Proxy controls.Source§fn from_channel(inner: Channel) -> Self
fn from_channel(inner: Channel) -> Self
Create a proxy over the given channel.
Source§fn into_channel(self) -> Channel
fn into_channel(self) -> Channel
Convert the proxy back into a channel.
Source§fn as_channel(&self) -> &Channel
fn as_channel(&self) -> &Channel
Get a reference to the proxy’s underlying channel. Read more
Auto Trait Implementations§
impl Freeze for MapperSynchronousProxy
impl RefUnwindSafe for MapperSynchronousProxy
impl Send for MapperSynchronousProxy
impl Sync for MapperSynchronousProxy
impl Unpin for MapperSynchronousProxy
impl UnsafeUnpin for MapperSynchronousProxy
impl UnwindSafe for MapperSynchronousProxy
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