pub struct Info {
pub sequence: u64,
}Expand description
A group contains a sequence number because they can arrive out of order.
You can use track::Producer::append_group if you just want to +1 the sequence number.
Fields§
§sequence: u64Per-track sequence number used to detect ordering and gaps. Higher numbers supersede lower ones; consumers may skip late arrivals.
Trait Implementations§
impl Copy for Info
impl Eq for Info
Source§impl Ord for Info
impl Ord for Info
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for Info
impl PartialOrd for Info
impl StructuralPartialEq for Info
Auto Trait Implementations§
impl Freeze for Info
impl RefUnwindSafe for Info
impl Send for Info
impl Sync for Info
impl Unpin for Info
impl UnsafeUnpin for Info
impl UnwindSafe for Info
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