pub struct DeviceStateWaiter { /* private fields */ }
Implementations§
Source§impl DeviceStateWaiter
impl DeviceStateWaiter
pub fn new(xsd: XsdClient) -> Self
pub fn add_device(&mut self, device: DeviceLocator) -> &mut DeviceStateWaiter
pub async fn wait(self, desired: u32, deadline: Duration) -> Result<()>
Auto Trait Implementations§
impl Freeze for DeviceStateWaiter
impl !RefUnwindSafe for DeviceStateWaiter
impl Send for DeviceStateWaiter
impl Sync for DeviceStateWaiter
impl Unpin for DeviceStateWaiter
impl !UnwindSafe for DeviceStateWaiter
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more