Trait xhci::context::DeviceHandler [−][src]
A trait to handle the Device Context.
Required methods
fn slot_mut(&mut self) -> &mut dyn SlotHandler
[src]
Returns a mutable reference to the Slot Context.
fn endpoint0_mut(&mut self) -> &mut dyn EndpointHandler
[src]
Returns a mutable reference to the Endpoint Context 0.
fn endpoints_mut(&mut self, i: usize) -> &mut dyn EndpointPairHandler
[src]
Returns a mutable reference to the Endpoint Context i
.
Panics
This method panics if i == 0
or i > 15
.