pub struct Lagged(/* private fields */);Expand description
The subscription fell behind the producer.
Reports the number of events that were dropped from this subscriber’s queue because the consumer didn’t keep up. The subscription continues after this error, starting from the next live event — callers who care about lag should match on it and decide whether to resync, re-fetch, or log and continue.
Implementations§
Trait Implementations§
Source§impl Error for Lagged
impl Error for Lagged
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 Lagged
impl Eq for Lagged
impl StructuralPartialEq for Lagged
Auto Trait Implementations§
impl Freeze for Lagged
impl RefUnwindSafe for Lagged
impl Send for Lagged
impl Sync for Lagged
impl Unpin for Lagged
impl UnsafeUnpin for Lagged
impl UnwindSafe for Lagged
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