pub enum CtrlSetupResult {
Show 13 variants
Ok,
OkSetAddress,
ErrBadLength,
ErrNoParse,
ErrNonstandardRequest,
ErrUnrecognizedDescriptorType,
ErrUnrecognizedRequestType,
ErrNoDeviceQualifier,
ErrInvalidDeviceIndex,
ErrInvalidConfigurationIndex,
ErrInvalidInterfaceIndex,
ErrInvalidStringIndex,
ErrGeneric,
}
Variants§
Ok
The Setup request was handled successfully
OkSetAddress
ErrBadLength
ErrNoParse
ErrNonstandardRequest
ErrUnrecognizedDescriptorType
ErrUnrecognizedRequestType
ErrNoDeviceQualifier
ErrInvalidDeviceIndex
ErrInvalidConfigurationIndex
ErrInvalidInterfaceIndex
ErrInvalidStringIndex
ErrGeneric
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CtrlSetupResult
impl RefUnwindSafe for CtrlSetupResult
impl Send for CtrlSetupResult
impl Sync for CtrlSetupResult
impl Unpin for CtrlSetupResult
impl UnwindSafe for CtrlSetupResult
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