Struct FrameReaderStatus
pub struct FrameReaderStatus {
pub frames_behind: u64,
pub missed_frames: u64,
pub missed_events: u64,
pub unread_events: usize,
}Expand description
A cursor’s status before a read or reset acknowledges any loss.
Counts describe progress since creation or the last cursor read/reset, not
queue metrics. In particular, FrameEvents::reset_metrics has no effect.
Fields§
§frames_behind: u64Advances since the cursor last read or reset (or was created).
missed_frames: u64Frames that expired before the cursor finished reading them.
Includes wholly unobserved empty frames, but excludes the current frame
and a previously fully read frame. Removal within the current frame is
reported by missed_events, without incrementing this count.
missed_events: u64Unread published events no longer available after advance, drain or clear. Rejected sends and cleared pending events were never published and do not count.
unread_events: usizeUnread events still available in the current visible frame.
Trait Implementations§
§impl Clone for FrameReaderStatus
impl Clone for FrameReaderStatus
§fn clone(&self) -> FrameReaderStatus
fn clone(&self) -> FrameReaderStatus
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more§impl Debug for FrameReaderStatus
impl Debug for FrameReaderStatus
§impl Default for FrameReaderStatus
impl Default for FrameReaderStatus
§fn default() -> FrameReaderStatus
fn default() -> FrameReaderStatus
Returns the “default value” for a type. Read more
§impl PartialEq for FrameReaderStatus
impl PartialEq for FrameReaderStatus
impl Copy for FrameReaderStatus
impl Eq for FrameReaderStatus
impl StructuralPartialEq for FrameReaderStatus
Auto Trait Implementations§
impl Freeze for FrameReaderStatus
impl RefUnwindSafe for FrameReaderStatus
impl Send for FrameReaderStatus
impl Sync for FrameReaderStatus
impl Unpin for FrameReaderStatus
impl UnwindSafe for FrameReaderStatus
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