pub enum BREQUESTR {
STD_GET_STATUS,
STD_CLEAR_FEATURE,
STD_SET_FEATURE,
STD_SET_ADDRESS,
STD_GET_DESCRIPTOR,
STD_SET_DESCRIPTOR,
STD_GET_CONFIGURATION,
STD_SET_CONFIGURATION,
STD_GET_INTERFACE,
STD_SET_INTERFACE,
STD_SYNCH_FRAME,
_Reserved(u8),
}
Expand description
Possible values of the field BREQUEST
Variants
STD_GET_STATUS
Standard request GET_STATUS
STD_CLEAR_FEATURE
Standard request CLEAR_FEATURE
STD_SET_FEATURE
Standard request SET_FEATURE
STD_SET_ADDRESS
Standard request SET_ADDRESS
STD_GET_DESCRIPTOR
Standard request GET_DESCRIPTOR
STD_SET_DESCRIPTOR
Standard request SET_DESCRIPTOR
STD_GET_CONFIGURATION
Standard request GET_CONFIGURATION
STD_SET_CONFIGURATION
Standard request SET_CONFIGURATION
STD_GET_INTERFACE
Standard request GET_INTERFACE
STD_SET_INTERFACE
Standard request SET_INTERFACE
STD_SYNCH_FRAME
Standard request SYNCH_FRAME
_Reserved(u8)
Reserved
Implementations
sourceimpl BREQUESTR
impl BREQUESTR
sourcepub fn is_std_get_status(&self) -> bool
pub fn is_std_get_status(&self) -> bool
Checks if the value of the field is STD_GET_STATUS
sourcepub fn is_std_clear_feature(&self) -> bool
pub fn is_std_clear_feature(&self) -> bool
Checks if the value of the field is STD_CLEAR_FEATURE
sourcepub fn is_std_set_feature(&self) -> bool
pub fn is_std_set_feature(&self) -> bool
Checks if the value of the field is STD_SET_FEATURE
sourcepub fn is_std_set_address(&self) -> bool
pub fn is_std_set_address(&self) -> bool
Checks if the value of the field is STD_SET_ADDRESS
sourcepub fn is_std_get_descriptor(&self) -> bool
pub fn is_std_get_descriptor(&self) -> bool
Checks if the value of the field is STD_GET_DESCRIPTOR
sourcepub fn is_std_set_descriptor(&self) -> bool
pub fn is_std_set_descriptor(&self) -> bool
Checks if the value of the field is STD_SET_DESCRIPTOR
sourcepub fn is_std_get_configuration(&self) -> bool
pub fn is_std_get_configuration(&self) -> bool
Checks if the value of the field is STD_GET_CONFIGURATION
sourcepub fn is_std_set_configuration(&self) -> bool
pub fn is_std_set_configuration(&self) -> bool
Checks if the value of the field is STD_SET_CONFIGURATION
sourcepub fn is_std_get_interface(&self) -> bool
pub fn is_std_get_interface(&self) -> bool
Checks if the value of the field is STD_GET_INTERFACE
sourcepub fn is_std_set_interface(&self) -> bool
pub fn is_std_set_interface(&self) -> bool
Checks if the value of the field is STD_SET_INTERFACE
sourcepub fn is_std_synch_frame(&self) -> bool
pub fn is_std_synch_frame(&self) -> bool
Checks if the value of the field is STD_SYNCH_FRAME