#[non_exhaustive]pub enum FeedbackTraceEvent {
Submit {
slot: Option<usize>,
status: i32,
},
Completion {
slot: Option<usize>,
status: i32,
actual_bytes: usize,
},
ExplicitPacket {
index: usize,
sample: ExplicitFeedbackPacket,
},
ImplicitSource {
interface_number: u8,
alt_setting: u8,
endpoint: u8,
service_interval_us: u32,
max_packet_bytes: usize,
bytes_per_frame: usize,
},
ImplicitPacket {
index: usize,
status: i32,
requested_bytes: usize,
actual_bytes: usize,
},
Lock {
locked: bool,
stale: bool,
},
Timebase {
unit: &'static str,
inferred: bool,
},
ExplicitFeedbackPolicy {
smoothing: FeedbackSmoothing,
},
ExplicitFeedbackRate {
smoothing: FeedbackSmoothing,
reported_frames_per_out_service: f64,
applied_frames_per_out_service: f64,
applied_rate_hz: f64,
},
CompatibilityFallback {
tier: CompatibilityFallbackTier,
reason: &'static str,
},
ClockReadbackSuggestion {
control_interface: u8,
clock_entity: u8,
strikes: u8,
},
}Expand description
An observation from the selected USB feedback path.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Submit
Completion
ExplicitPacket
ImplicitSource
Fields
ImplicitPacket
Lock
Timebase
ExplicitFeedbackPolicy
Selected policy, retained before the first explicit report arrives.
Fields
§
smoothing: FeedbackSmoothingExplicitFeedbackRate
The validated selected report and the actual fractional scheduling rate. Raw feedback statistics remain independent of the configured filter.
Fields
§
smoothing: FeedbackSmoothingCompatibilityFallback
ClockReadbackSuggestion
Session-local observation only; never a persisted device rule.
Trait Implementations§
Source§impl Clone for FeedbackTraceEvent
impl Clone for FeedbackTraceEvent
impl Copy for FeedbackTraceEvent
Source§impl Debug for FeedbackTraceEvent
impl Debug for FeedbackTraceEvent
Source§impl PartialEq for FeedbackTraceEvent
impl PartialEq for FeedbackTraceEvent
impl StructuralPartialEq for FeedbackTraceEvent
Auto Trait Implementations§
impl Forget for FeedbackTraceEvent
impl Freeze for FeedbackTraceEvent
impl Move for FeedbackTraceEvent
impl RefUnwindSafe for FeedbackTraceEvent
impl Send for FeedbackTraceEvent
impl Sync for FeedbackTraceEvent
impl Unpin for FeedbackTraceEvent
impl UnsafeUnpin for FeedbackTraceEvent
impl UnwindSafe for FeedbackTraceEvent
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