pub struct ResumeReport {
pub replayed: u32,
pub dropped: u32,
}Expand description
Reported back from Core::resume when the final lock releases.
replayed is the number of tier-3/tier-4 messages dispatched to
subscribers as part of the drain. dropped is the number of messages
that fell out the front of the buffer due to the Core-global
pause_buffer_cap while this pause cycle was active. A non-zero
dropped indicates a controller held the lock long enough to overflow
the cap; the binding may want to surface a warning or error.
Fields§
§replayed: u32§dropped: u32Trait Implementations§
Source§impl Clone for ResumeReport
impl Clone for ResumeReport
Source§fn clone(&self) -> ResumeReport
fn clone(&self) -> ResumeReport
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ResumeReport
impl Debug for ResumeReport
Source§impl PartialEq for ResumeReport
impl PartialEq for ResumeReport
Source§fn eq(&self, other: &ResumeReport) -> bool
fn eq(&self, other: &ResumeReport) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for ResumeReport
impl Eq for ResumeReport
impl StructuralPartialEq for ResumeReport
Auto Trait Implementations§
impl Freeze for ResumeReport
impl RefUnwindSafe for ResumeReport
impl Send for ResumeReport
impl Sync for ResumeReport
impl Unpin for ResumeReport
impl UnsafeUnpin for ResumeReport
impl UnwindSafe for ResumeReport
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.