pub enum InResult {
Packet(usize),
Delay,
Error,
}
Expand description
Result for IN packets sent on bulk or interrupt endpoints.
Variants§
Packet(usize)
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.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for InResult
impl RefUnwindSafe for InResult
impl Send for InResult
impl Sync for InResult
impl Unpin for InResult
impl UnwindSafe for InResult
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