pub struct ClosedTargetSynchronousProxy { /* private fields */ }
Implementations§
Source§impl ClosedTargetSynchronousProxy
impl ClosedTargetSynchronousProxy
pub fn new(channel: Channel) -> Self
pub fn into_channel(self) -> Channel
Sourcepub fn wait_for_event(
&self,
deadline: MonotonicInstant,
) -> Result<ClosedTargetEvent, Error>
pub fn wait_for_event( &self, deadline: MonotonicInstant, ) -> Result<ClosedTargetEvent, Error>
Waits until an event arrives and returns it. It is safe for other threads to make concurrent requests while waiting for an event.
pub fn one_way_no_payload(&self) -> Result<(), Error>
pub fn two_way_no_payload( &self, ___deadline: MonotonicInstant, ) -> Result<(), Error>
pub fn two_way_struct_payload( &self, v: i8, ___deadline: MonotonicInstant, ) -> Result<i8, Error>
pub fn two_way_table_payload( &self, payload: &ClosedTargetTwoWayTablePayloadRequest, ___deadline: MonotonicInstant, ) -> Result<ClosedTargetTwoWayTablePayloadResponse, Error>
pub fn two_way_union_payload( &self, payload: &ClosedTargetTwoWayUnionPayloadRequest, ___deadline: MonotonicInstant, ) -> Result<ClosedTargetTwoWayUnionPayloadResponse, Error>
pub fn two_way_result( &self, payload: &ClosedTargetTwoWayResultRequest, ___deadline: MonotonicInstant, ) -> Result<ClosedTargetTwoWayResultResult, Error>
pub fn get_handle_rights( &self, handle: Handle, ___deadline: MonotonicInstant, ) -> Result<Rights, Error>
pub fn get_signalable_event_rights( &self, handle: Event, ___deadline: MonotonicInstant, ) -> Result<Rights, Error>
pub fn echo_as_transferable_signalable_event( &self, handle: Handle, ___deadline: MonotonicInstant, ) -> Result<Event, Error>
pub fn byte_vector_size( &self, vec: &[u8], ___deadline: MonotonicInstant, ) -> Result<u32, Error>
pub fn handle_vector_size( &self, vec: Vec<Event>, ___deadline: MonotonicInstant, ) -> Result<u32, Error>
pub fn create_n_byte_vector( &self, n: u32, ___deadline: MonotonicInstant, ) -> Result<Vec<u8>, Error>
pub fn create_n_handle_vector( &self, n: u32, ___deadline: MonotonicInstant, ) -> Result<Vec<Event>, Error>
Trait Implementations§
Source§impl Debug for ClosedTargetSynchronousProxy
impl Debug for ClosedTargetSynchronousProxy
Source§impl SynchronousProxy for ClosedTargetSynchronousProxy
impl SynchronousProxy for ClosedTargetSynchronousProxy
Source§type Proxy = ClosedTargetProxy
type Proxy = ClosedTargetProxy
The async proxy for the same protocol.
Source§type Protocol = ClosedTargetMarker
type Protocol = ClosedTargetMarker
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 ClosedTargetSynchronousProxy
impl RefUnwindSafe for ClosedTargetSynchronousProxy
impl Send for ClosedTargetSynchronousProxy
impl Sync for ClosedTargetSynchronousProxy
impl Unpin for ClosedTargetSynchronousProxy
impl UnwindSafe for ClosedTargetSynchronousProxy
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