#[non_exhaustive]pub struct ExplicitFeedbackPacket {
pub outcome: ExplicitFeedbackOutcome,
pub transfer_status: i32,
pub packet_status: Option<i32>,
pub requested_bytes: usize,
pub actual_bytes: usize,
pub frames_per_out_service: Option<f64>,
pub decoded_rate_hz: Option<f64>,
/* private fields */
}Expand description
The most recent packet observed for one feedback outcome.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.outcome: ExplicitFeedbackOutcome§transfer_status: i32§packet_status: Option<i32>The libusb packet status, or None when no packet status was reported.
requested_bytes: usize§actual_bytes: usize§frames_per_out_service: Option<f64>§decoded_rate_hz: Option<f64>Implementations§
Trait Implementations§
Source§impl Clone for ExplicitFeedbackPacket
impl Clone for ExplicitFeedbackPacket
impl Copy for ExplicitFeedbackPacket
Source§impl Debug for ExplicitFeedbackPacket
impl Debug for ExplicitFeedbackPacket
Source§impl PartialEq for ExplicitFeedbackPacket
impl PartialEq for ExplicitFeedbackPacket
impl StructuralPartialEq for ExplicitFeedbackPacket
Auto Trait Implementations§
impl Forget for ExplicitFeedbackPacket
impl Freeze for ExplicitFeedbackPacket
impl Move for ExplicitFeedbackPacket
impl RefUnwindSafe for ExplicitFeedbackPacket
impl Send for ExplicitFeedbackPacket
impl Sync for ExplicitFeedbackPacket
impl Unpin for ExplicitFeedbackPacket
impl UnsafeUnpin for ExplicitFeedbackPacket
impl UnwindSafe for ExplicitFeedbackPacket
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