pub struct QueReport {
pub npend: usize,
pub ring_space: usize,
pub ring_size: usize,
pub nreplace: u64,
pub latest_only: bool,
pub n_duplicates: usize,
}Expand description
One consistent read of a monitor’s queue state — the fields C’s dbel
reaches for through pevent and pevent->ev_que (dbEvent.c:181-246).
Fields§
§npend: usizeC pevent->npend — entries queued for this monitor, undelivered.
ring_space: usizeC ringSpace(pevent->ev_que) — unused entries in the shared ring.
ring_size: usizeC EVENTQUESIZE, the constant ringSpace is compared against to
decide “queue empty”.
nreplace: u64C pevent->nreplace — posts that overwrote this monitor’s last entry.
latest_only: boolC ! pevent->useValque, which dbel reports as “queueing disabled”.
n_duplicates: usizeC pevent->ev_que->nDuplicates, shared by every monitor on the queue.
Trait Implementations§
impl Copy for QueReport
impl Eq for QueReport
impl StructuralPartialEq for QueReport
Auto Trait Implementations§
impl Freeze for QueReport
impl RefUnwindSafe for QueReport
impl Send for QueReport
impl Sync for QueReport
impl Unpin for QueReport
impl UnsafeUnpin for QueReport
impl UnwindSafe for QueReport
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.