pub enum ReplayStep {
SetFeature {
report_id: u8,
payload: Vec<u8>,
},
GetFeature {
report_id: u8,
response: Vec<u8>,
},
WriteOutput {
report_id: u8,
payload: Vec<u8>,
},
ReadInput {
response: Vec<u8>,
},
}Expand description
One expected operation in a deterministic, hardware-free transport trace.
确定性、无硬件传输轨迹中的一个预期操作。
Variants§
Trait Implementations§
Source§impl Clone for ReplayStep
impl Clone for ReplayStep
Source§fn clone(&self) -> ReplayStep
fn clone(&self) -> ReplayStep
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 moreSource§impl Debug for ReplayStep
impl Debug for ReplayStep
impl Eq for ReplayStep
Source§impl PartialEq for ReplayStep
impl PartialEq for ReplayStep
Source§fn eq(&self, other: &ReplayStep) -> bool
fn eq(&self, other: &ReplayStep) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ReplayStep
Auto Trait Implementations§
impl Freeze for ReplayStep
impl RefUnwindSafe for ReplayStep
impl Send for ReplayStep
impl Sync for ReplayStep
impl Unpin for ReplayStep
impl UnsafeUnpin for ReplayStep
impl UnwindSafe for ReplayStep
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