pub enum HubRequest {
GetHubDescriptor,
GetHubStatus,
SetHubFeature,
ClearHubFeature,
GetPortStatus,
SetPortFeature,
ClearPortFeature,
GetHubDescriptor16,
}Expand description
Hub 类请求
参照 USB 2.0 规范表 11-15。
Variants§
GetHubDescriptor
GetHubStatus
SetHubFeature
ClearHubFeature
GetPortStatus
SetPortFeature
ClearPortFeature
GetHubDescriptor16
Trait Implementations§
Source§impl Clone for HubRequest
impl Clone for HubRequest
Source§fn clone(&self) -> HubRequest
fn clone(&self) -> HubRequest
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for HubRequest
impl Debug for HubRequest
Source§impl PartialEq for HubRequest
impl PartialEq for HubRequest
impl Copy for HubRequest
impl Eq for HubRequest
impl StructuralPartialEq for HubRequest
Auto Trait Implementations§
impl Freeze for HubRequest
impl RefUnwindSafe for HubRequest
impl Send for HubRequest
impl Sync for HubRequest
impl Unpin for HubRequest
impl UnwindSafe for HubRequest
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