pub struct ConnectorSynchronousProxy { /* private fields */ }Implementations§
Source§impl ConnectorSynchronousProxy
impl ConnectorSynchronousProxy
pub fn new(channel: Channel) -> Self
pub fn into_channel(self) -> Channel
Sourcepub fn wait_for_event(
&self,
deadline: MonotonicInstant,
) -> Result<ConnectorEvent, Error>
pub fn wait_for_event( &self, deadline: MonotonicInstant, ) -> Result<ConnectorEvent, 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 signal_processing_connect(
&self,
protocol: ServerEnd<SignalProcessingMarker>,
) -> Result<(), Error>
pub fn signal_processing_connect( &self, protocol: ServerEnd<SignalProcessingMarker>, ) -> Result<(), Error>
Connect to a SignalProcessing protocol.
Multiple connections may be supported, if a new connection request is not supported, i.e.
the maximum number of connections have already been created, for instance one, then the
protocol channel (not the channel upon which SignalProcessingConnect is being called)
will be closed with a ZX_ERR_ALREADY_BOUND epitaph.
If signal processing is not supported at all, then the protocol channel (again, not the
channel upon which SignalProcessingConnect is being called) will be closed with a
ZX_ERR_NOT_SUPPORTED epitaph.
This method is named SignalProcessingConnect instead of Connect because this protocol
is intended to be composed, and hence the more verbose name allows differentiation and
improved clarity.
Trait Implementations§
Source§impl Debug for ConnectorSynchronousProxy
impl Debug for ConnectorSynchronousProxy
Source§impl From<Channel> for ConnectorSynchronousProxy
Available on Fuchsia only.
impl From<Channel> for ConnectorSynchronousProxy
Source§impl From<ConnectorSynchronousProxy> for Handle
Available on Fuchsia only.
impl From<ConnectorSynchronousProxy> for Handle
Source§fn from(value: ConnectorSynchronousProxy) -> Self
fn from(value: ConnectorSynchronousProxy) -> Self
Source§impl FromClient for ConnectorSynchronousProxy
Available on Fuchsia only.
impl FromClient for ConnectorSynchronousProxy
Source§type Protocol = ConnectorMarker
type Protocol = ConnectorMarker
Source§fn from_client(value: ClientEnd<ConnectorMarker>) -> Self
fn from_client(value: ClientEnd<ConnectorMarker>) -> Self
Source§impl SynchronousProxy for ConnectorSynchronousProxy
Available on Fuchsia only.
impl SynchronousProxy for ConnectorSynchronousProxy
Source§type Proxy = ConnectorProxy
type Proxy = ConnectorProxy
Source§type Protocol = ConnectorMarker
type Protocol = ConnectorMarker
Proxy controls.