pub struct UsbAutoDevice<'a, R, W, P> { /* private fields */ }Implementations§
Source§impl<'a, R, W, P> UsbAutoDevice<'a, R, W, P>
impl<'a, R, W, P> UsbAutoDevice<'a, R, W, P>
pub fn new(input: UsbAutoDeviceInput<'a, R, W, P>) -> Self
Trait Implementations§
Source§impl<R, W, P> Interface for UsbAutoDevice<'_, R, W, P>
impl<R, W, P> Interface for UsbAutoDevice<'_, R, W, P>
const HW_MTU: usize = prns_core::interfaces::usb_auto::DEVICE_USB_HW_MTU
Source§const KIND: InterfaceKind = InterfaceKind::UsbAutoDevice
const KIND: InterfaceKind = InterfaceKind::UsbAutoDevice
The medium this interface speaks, which is also the namespace root of its id (
from_channel_tag).fn descriptor(&self) -> InterfaceDescriptor
Source§fn channel_tag(&self) -> &[u8] ⓘ
fn channel_tag(&self) -> &[u8] ⓘ
There is one hard contract for
channel_tag(): distinct bytes across distinct concurrent communication channels, and the same bytes across every reconnect and reboot for that effective channel. Read moreasync fn run<Seam: InterfaceSeam>(self, seam: Seam)
Auto Trait Implementations§
impl<'a, R, W, P> !RefUnwindSafe for UsbAutoDevice<'a, R, W, P>
impl<'a, R, W, P> !UnwindSafe for UsbAutoDevice<'a, R, W, P>
impl<'a, R, W, P> Freeze for UsbAutoDevice<'a, R, W, P>
impl<'a, R, W, P> Send for UsbAutoDevice<'a, R, W, P>
impl<'a, R, W, P> Sync for UsbAutoDevice<'a, R, W, P>
impl<'a, R, W, P> Unpin for UsbAutoDevice<'a, R, W, P>
impl<'a, R, W, P> UnsafeUnpin for UsbAutoDevice<'a, R, W, P>
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