pub struct Gap {
pub stream: Stream,
pub channel_id: Option<ChannelId>,
pub expected: u64,
pub received: u64,
}Expand description
A detected gap in a sequenced stream.
Fields§
§stream: StreamThe stream.
channel_id: Option<ChannelId>The channel, for a channel stream.
expected: u64The next sequence the client needs.
received: u64The sequence that arrived.
Trait Implementations§
impl Copy for Gap
impl Eq for Gap
impl StructuralPartialEq for Gap
Auto Trait Implementations§
impl Freeze for Gap
impl RefUnwindSafe for Gap
impl Send for Gap
impl Sync for Gap
impl Unpin for Gap
impl UnsafeUnpin for Gap
impl UnwindSafe for Gap
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