pub struct Arrived {
pub presented: Option<i64>,
pub margin: Option<i64>,
pub samples: usize,
pub channels: usize,
pub missed: u8,
pub media_reset: bool,
}Expand description
A block a listener received, as a BlockSink takes it.
Fields§
§presented: Option<i64>When its first sample is presented, in gPTP nanoseconds; none while gPTP time is not a grandmaster’s.
margin: Option<i64>How long before that it was taken, in nanoseconds: negative when late.
samples: usizeIts samples on each channel.
channels: usizeThe format’s channels, which its frames have.
missed: u8Frames the sequence numbers say went missing just before it.
media_reset: boolIts mr bit, which the talker changes as it starts again.
Trait Implementations§
impl Copy for Arrived
impl Eq for Arrived
impl StructuralPartialEq for Arrived
Auto Trait Implementations§
impl Forget for Arrived
impl Freeze for Arrived
impl Move for Arrived
impl RefUnwindSafe for Arrived
impl Send for Arrived
impl Sync for Arrived
impl Unpin for Arrived
impl UnsafeUnpin for Arrived
impl UnwindSafe for Arrived
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