pub struct IcdLoaderDeviceSynchronousProxy { /* private fields */ }
Implementations§
source§impl IcdLoaderDeviceSynchronousProxy
impl IcdLoaderDeviceSynchronousProxy
pub fn new(channel: Channel) -> Self
pub fn into_channel(self) -> Channel
sourcepub fn wait_for_event(
&self,
deadline: Time
) -> Result<IcdLoaderDeviceEvent, Error>
pub fn wait_for_event( &self, deadline: Time ) -> Result<IcdLoaderDeviceEvent, 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_icd_list(&self, ___deadline: Time) -> Result<Vec<IcdInfo>, Error>
pub fn get_icd_list(&self, ___deadline: Time) -> Result<Vec<IcdInfo>, Error>
Returns a list of ICDs that can be used with this Magma device. The list is sorted in descending order of preference.