pub struct DeviceState {
pub fail_handle: Arc<dyn FailHandle>,
pub endpoints: Vec<UsbEndpoint>,
pub initialized: bool,
pub job_queue: Arc<AsyncJobQueue>,
}Fields§
§fail_handle: Arc<dyn FailHandle>§endpoints: Vec<UsbEndpoint>§initialized: bool§job_queue: Arc<AsyncJobQueue>Implementations§
Source§impl DeviceState
impl DeviceState
pub fn new( fail_handle: Arc<dyn FailHandle>, job_queue: Arc<AsyncJobQueue>, ) -> Self
Auto Trait Implementations§
impl Freeze for DeviceState
impl !RefUnwindSafe for DeviceState
impl Send for DeviceState
impl Sync for DeviceState
impl Unpin for DeviceState
impl !UnwindSafe for DeviceState
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