pub enum CtrlInResult {
Packet(usize, bool),
Delay,
Error,
}
Variants§
Packet(usize, bool)
A packet of the given size was written into the endpoint buffer
Delay
The client is not yet able to provide data to the host, but may be able to in the future. This result causes the controller to send a NAK token to the host.
Error
The client does not support the request. This result causes the controller to send a STALL token to the host.
Auto Trait Implementations§
impl Freeze for CtrlInResult
impl RefUnwindSafe for CtrlInResult
impl Send for CtrlInResult
impl Sync for CtrlInResult
impl Unpin for CtrlInResult
impl UnwindSafe for CtrlInResult
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