Skip to main content

TalkerStats

Struct TalkerStats 

Source
pub struct TalkerStats {
    pub frames_sent: u64,
    pub frames_late: u64,
    pub media_resets: u64,
    pub clock_resets: u64,
    pub adjustments: u64,
    pub underruns: u64,
    pub send_errors: u64,
    pub realtime: bool,
    pub drift_ppm: i32,
    pub launching: bool,
    pub launches_missed: u64,
}
Expand description

A talker’s counters.

Fields§

§frames_sent: u64§frames_late: u64

Frames left out as due too late to arrive in time, as when the thread woke late: the stream goes on past them on its timeline.

§media_resets: u64

Times the media clock started again, which the mr bit tells.

§clock_resets: u64

Of those, the ones for gPTP time jumping, as to a grandmaster of other time, or going back.

§adjustments: u64

Times the input dropped frames as its device ran far ahead, and reads that found it empty.

§underruns: u64§send_errors: u64

Frames the interface would not take.

§realtime: bool

The thread pacing the frames runs real time.

§drift_ppm: i32

How far the audio device’s clock runs from gPTP’s, in parts per million.

§launching: bool

Frames go out at their launch times on the card, rather than each sent when due.

§launches_missed: u64

The group’s frames the card’s queue dropped, their launch times passed or not valid: refused as handed over, or dropped later.

Trait Implementations§

Source§

impl Clone for TalkerStats

Source§

fn clone(&self) -> Self

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Copy for TalkerStats

Source§

impl Debug for TalkerStats

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for TalkerStats

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl Eq for TalkerStats

Source§

impl PartialEq for TalkerStats

Source§

fn eq(&self, other: &Self) -> bool

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Inequality operator !=. Read more
Source§

impl StructuralPartialEq for TalkerStats

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<S, T> Duplex<S> for T
where T: FromSample<S> + ToSample<S>,

Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<S> FromSample<S> for S

Source§

fn from_sample_(s: S) -> S

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> ToSample<U> for T
where U: FromSample<T>,

Source§

fn to_sample_(self) -> U

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.