pub struct UsbDriver<'a> { /* private fields */ }
Implementations§
Source§impl<'a> UsbDriver<'a>
impl<'a> UsbDriver<'a>
pub fn set_full_speed(&mut self)
Trait Implementations§
Source§impl<'a> Driver<'a> for UsbDriver<'a>
impl<'a> Driver<'a> for UsbDriver<'a>
Source§type EndpointOut = EndpointOut<'a>
type EndpointOut = EndpointOut<'a>
Type of the OUT endpoints for this driver.
Source§type EndpointIn = EndpointIn<'a>
type EndpointIn = EndpointIn<'a>
Type of the IN endpoints for this driver.
Source§type ControlPipe = ControlPipe<'a>
type ControlPipe = ControlPipe<'a>
Type of the control pipe for this driver.
Source§fn alloc_endpoint_out(
&mut self,
endpoint_type: EndpointType,
max_packet_size: u16,
interval_ms: u8,
) -> Result<Self::EndpointOut, EndpointAllocError>
fn alloc_endpoint_out( &mut self, endpoint_type: EndpointType, max_packet_size: u16, interval_ms: u8, ) -> Result<Self::EndpointOut, EndpointAllocError>
Allocates an OUT endpoint. Read more
Source§fn alloc_endpoint_in(
&mut self,
endpoint_type: EndpointType,
max_packet_size: u16,
interval_ms: u8,
) -> Result<Self::EndpointIn, EndpointAllocError>
fn alloc_endpoint_in( &mut self, endpoint_type: EndpointType, max_packet_size: u16, interval_ms: u8, ) -> Result<Self::EndpointIn, EndpointAllocError>
Allocates an IN endpoint. Read more
Auto Trait Implementations§
impl<'a> Freeze for UsbDriver<'a>
impl<'a> RefUnwindSafe for UsbDriver<'a>
impl<'a> Send for UsbDriver<'a>
impl<'a> Sync for UsbDriver<'a>
impl<'a> Unpin for UsbDriver<'a>
impl<'a> UnwindSafe for UsbDriver<'a>
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