pub struct RawResponse {
pub ty: ResponseType,
pub words: [u32; 4],
}Expand description
Raw response words harvested by a host controller.
ABI:
- 48-bit responses store their response payload in
words[0]. - R2/CID/CSD responses store four 32-bit words in most-significant-word first order.
- Each word is the big-endian value of the corresponding response bytes.
Fields§
§ty: ResponseType§words: [u32; 4]Implementations§
Source§impl RawResponse
impl RawResponse
Trait Implementations§
Source§impl Clone for RawResponse
impl Clone for RawResponse
Source§fn clone(&self) -> RawResponse
fn clone(&self) -> RawResponse
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for RawResponse
Source§impl Debug for RawResponse
impl Debug for RawResponse
impl Eq for RawResponse
Source§impl PartialEq for RawResponse
impl PartialEq for RawResponse
Source§fn eq(&self, other: &RawResponse) -> bool
fn eq(&self, other: &RawResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RawResponse
Auto Trait Implementations§
impl Freeze for RawResponse
impl RefUnwindSafe for RawResponse
impl Send for RawResponse
impl Sync for RawResponse
impl Unpin for RawResponse
impl UnsafeUnpin for RawResponse
impl UnwindSafe for RawResponse
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