pub struct SyncReader { /* private fields */ }Expand description
Synchronous wrapper of a nusb IN transfer queue.
Implementations§
Trait Implementations§
Source§impl From<Queue<RequestBuffer>> for SyncReader
impl From<Queue<RequestBuffer>> for SyncReader
Source§fn from(value: Queue<RequestBuffer>) -> Self
fn from(value: Queue<RequestBuffer>) -> Self
Converts to this type from the input type.
Source§impl From<SyncReader> for Queue<RequestBuffer>
impl From<SyncReader> for Queue<RequestBuffer>
Source§fn from(value: SyncReader) -> Self
fn from(value: SyncReader) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SyncReader
impl !RefUnwindSafe for SyncReader
impl Send for SyncReader
impl Sync for SyncReader
impl Unpin for SyncReader
impl !UnwindSafe for SyncReader
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