pub struct DeviceHandles {
pub device: Arc<Device>,
pub refill_rx: Receiver<()>,
}Expand description
Handles handed to the control session that owns a device.
Fields§
§device: Arc<Device>The registered device.
refill_rx: Receiver<()>Fires whenever the pool wants another data connection.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for DeviceHandles
impl !UnwindSafe for DeviceHandles
impl Freeze for DeviceHandles
impl Send for DeviceHandles
impl Sync for DeviceHandles
impl Unpin for DeviceHandles
impl UnsafeUnpin for DeviceHandles
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