pub struct DeviceProxy_SynchronousProxy { /* private fields */ }
Implementations§
source§impl DeviceProxy_SynchronousProxy
impl DeviceProxy_SynchronousProxy
pub fn new(channel: Channel) -> Self
pub fn into_channel(self) -> Channel
sourcepub fn wait_for_event(&self, deadline: Time) -> Result<DeviceProxy_Event, Error>
pub fn wait_for_event(&self, deadline: Time) -> Result<DeviceProxy_Event, 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 serve_device(&self, req: Channel) -> Result<(), Error>
pub fn serve_device(&self, req: Channel) -> Result<(), Error>
Fulfills the device request.
This interface provides erased types to match devfs behavior.