Enum nrf52840_hal::target::usbd::isoinconfig::RESPONSER
source · pub enum RESPONSER {
NORESP,
ZERODATA,
}
Expand description
Possible values of the field RESPONSE
Variants
NORESP
Endpoint does not respond in that case
ZERODATA
Endpoint responds with a zero-length data packet in that case
Implementations
sourceimpl RESPONSER
impl RESPONSER
sourcepub fn bit_is_clear(&self) -> bool
pub fn bit_is_clear(&self) -> bool
Returns true
if the bit is clear (0)
sourcepub fn bit_is_set(&self) -> bool
pub fn bit_is_set(&self) -> bool
Returns true
if the bit is set (1)
sourcepub fn is_no_resp(&self) -> bool
pub fn is_no_resp(&self) -> bool
Checks if the value of the field is NORESP
sourcepub fn is_zero_data(&self) -> bool
pub fn is_zero_data(&self) -> bool
Checks if the value of the field is ZERODATA
Trait Implementations
impl Copy for RESPONSER
impl StructuralPartialEq for RESPONSER
Auto Trait Implementations
impl RefUnwindSafe for RESPONSER
impl Send for RESPONSER
impl Sync for RESPONSER
impl Unpin for RESPONSER
impl UnwindSafe for RESPONSER
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more