Expand description
Type-level pipe markers for endpoint type and direction.
These structs and traits are used as generic parameters on UsbPipe
to statically enforce correct endpoint type and direction at compile time.
All marker traits are sealed — they cannot be implemented outside this crate.
Structs§
- Bulk
- Marker for a bulk endpoint pipe.
- Control
- Marker for a control endpoint pipe.
- In
- Marker for an IN-only (device-to-host) pipe.
- InOut
- Marker for a bidirectional pipe (used for control endpoints).
- Interrupt
- Marker for an interrupt endpoint pipe.
- Isochronous
- Marker for an isochronous endpoint pipe.
- Out
- Marker for an OUT-only (host-to-device) pipe.
Traits§
- Direction
- Marker trait for the transfer direction of a pipe.
- IsBulk
OrInterrupt - Trait bound satisfied only by
BulkorInterruptpipes. - IsControl
- Trait bound satisfied only by
Controlpipes. - IsIn
- Trait bound satisfied by directions that support IN transfers.
- IsInterrupt
- Trait bound satisfied only by
Interruptpipes. - IsOut
- Trait bound satisfied by directions that support OUT transfers.
- Type
- Marker trait for the endpoint transfer type of a pipe.