pub struct LinkQuality {
pub lost_last_second: u32,
pub recovered_last_second: u32,
pub total_last_second: u32,
pub rssi: [i32; 2],
pub snr: [i32; 2],
pub link_score: [i32; 2],
pub idr_code: String,
}Expand description
Link-quality report used by OpenIPC adaptive-link feedback.
Fields§
§lost_last_second: u32Lost FEC fragments over the recent window.
recovered_last_second: u32Recovered FEC fragments over the recent window.
total_last_second: u32Total FEC fragments over the recent window.
rssi: [i32; 2]Averaged RSSI for the first two RF paths.
snr: [i32; 2]Averaged SNR for the first two RF paths.
link_score: [i32; 2]Computed link-score values for the first two RF paths.
idr_code: StringIDR/keyframe request code to include in feedback.
Trait Implementations§
Source§impl Clone for LinkQuality
impl Clone for LinkQuality
Source§fn clone(&self) -> LinkQuality
fn clone(&self) -> LinkQuality
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 LinkQuality
impl Debug for LinkQuality
Source§impl PartialEq for LinkQuality
impl PartialEq for LinkQuality
Source§fn eq(&self, other: &LinkQuality) -> bool
fn eq(&self, other: &LinkQuality) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for LinkQuality
Auto Trait Implementations§
impl Freeze for LinkQuality
impl RefUnwindSafe for LinkQuality
impl Send for LinkQuality
impl Sync for LinkQuality
impl Unpin for LinkQuality
impl UnsafeUnpin for LinkQuality
impl UnwindSafe for LinkQuality
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