pub struct RecordedControl {
pub request_type: u8,
pub request: u8,
pub value: u16,
pub index: u16,
pub data: Vec<u8>,
}Available on crate feature
fake-transport only.Expand description
Captured control transfer (for golden parity assertions).
Fields§
§request_type: u8§request: u8§value: u16§index: u16§data: Vec<u8>Trait Implementations§
Source§impl Clone for RecordedControl
impl Clone for RecordedControl
Source§fn clone(&self) -> RecordedControl
fn clone(&self) -> RecordedControl
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 moreAuto Trait Implementations§
impl Freeze for RecordedControl
impl RefUnwindSafe for RecordedControl
impl Send for RecordedControl
impl Sync for RecordedControl
impl Unpin for RecordedControl
impl UnsafeUnpin for RecordedControl
impl UnwindSafe for RecordedControl
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