Enum embassy_usb::control::InResponse
source · pub enum InResponse<'a> {
Accepted(&'a [u8]),
Rejected,
}
Expand description
Response for a CONTROL IN request.
Variants§
Accepted(&'a [u8])
The request was accepted. The buffer contains the response data.
Rejected
The request was rejected.
Trait Implementations§
source§impl<'a> Clone for InResponse<'a>
impl<'a> Clone for InResponse<'a>
source§fn clone(&self) -> InResponse<'a>
fn clone(&self) -> InResponse<'a>
Returns a copy 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<'a> Debug for InResponse<'a>
impl<'a> Debug for InResponse<'a>
source§impl<'a> Format for InResponse<'a>
impl<'a> Format for InResponse<'a>
source§impl<'a> PartialEq for InResponse<'a>
impl<'a> PartialEq for InResponse<'a>
source§fn eq(&self, other: &InResponse<'a>) -> bool
fn eq(&self, other: &InResponse<'a>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl<'a> Copy for InResponse<'a>
impl<'a> Eq for InResponse<'a>
impl<'a> StructuralPartialEq for InResponse<'a>
Auto Trait Implementations§
impl<'a> Freeze for InResponse<'a>
impl<'a> RefUnwindSafe for InResponse<'a>
impl<'a> Send for InResponse<'a>
impl<'a> Sync for InResponse<'a>
impl<'a> Unpin for InResponse<'a>
impl<'a> UnwindSafe for InResponse<'a>
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