pub struct Lagged {
pub from: Seq,
pub to: Seq,
}Expand description
Ledger records that never reached a peer, named by both ends.
Both ends come from records this session can name, never from the
count a lagged subscription reports: that count says how many
messages were skipped and neither endpoint, so a reader holding it
cannot ask for the range it lost. from is the record after the last
one the session delivered; to is the record before the first one to
arrive after the gap.
Fields§
§from: Seq§to: SeqTrait Implementations§
impl Copy for Lagged
Source§impl<'de> Deserialize<'de> for Lagged
impl<'de> Deserialize<'de> for Lagged
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
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