pub struct Missed(pub u64);Expand description
Emitted by Subscription::stream when the consumer falls behind
the bounded broadcast ring. The inner u64 is the number of
samples the ring overwrote before the consumer got back to it —
callers can use it to decide whether to reset derived state or
just keep going.
Tuple Fields§
§0: u64Trait Implementations§
Source§impl Error for Missed
impl Error for Missed
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
impl Copy for Missed
impl Eq for Missed
impl StructuralPartialEq for Missed
Auto Trait Implementations§
impl Freeze for Missed
impl RefUnwindSafe for Missed
impl Send for Missed
impl Sync for Missed
impl Unpin for Missed
impl UnsafeUnpin for Missed
impl UnwindSafe for Missed
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