pub struct DeviceInfoIteratorSynchronousProxy { /* private fields */ }
Implementations§
source§impl DeviceInfoIteratorSynchronousProxy
impl DeviceInfoIteratorSynchronousProxy
pub fn new(channel: Channel) -> Self
pub fn into_channel(self) -> Channel
sourcepub fn wait_for_event(
&self,
deadline: Time
) -> Result<DeviceInfoIteratorEvent, Error>
pub fn wait_for_event( &self, deadline: Time ) -> Result<DeviceInfoIteratorEvent, 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 get_next(&self, ___deadline: Time) -> Result<Vec<DeviceInfo>, Error>
pub fn get_next(&self, ___deadline: Time) -> Result<Vec<DeviceInfo>, Error>
Return 0 devices when no more entries left.