pub struct EndpointSynchronousProxy { /* private fields */ }
Implementations§
source§impl EndpointSynchronousProxy
impl EndpointSynchronousProxy
pub fn new(channel: Channel) -> Self
pub fn into_channel(self) -> Channel
sourcepub fn wait_for_event(&self, deadline: Time) -> Result<EndpointEvent, Error>
pub fn wait_for_event(&self, deadline: Time) -> Result<EndpointEvent, 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 get_config(&self, ___deadline: Time) -> Result<EndpointConfig, Error>
sourcepub fn set_link_up(&self, up: bool, ___deadline: Time) -> Result<(), Error>
pub fn set_link_up(&self, up: bool, ___deadline: Time) -> Result<(), Error>
Sends link up or down signal
sourcepub fn get_port(&self, port: ServerEnd<PortMarker>) -> Result<(), Error>
pub fn get_port(&self, port: ServerEnd<PortMarker>) -> Result<(), Error>
Connects to the underlying device port.
sourcepub fn get_proxy_(
&self,
proxy: ServerEnd<DeviceProxy_Marker>
) -> Result<(), Error>
pub fn get_proxy_( &self, proxy: ServerEnd<DeviceProxy_Marker> ) -> Result<(), Error>
Gets a proxy to open requests with zircon ethernet device.