#[non_exhaustive]pub struct ReconnectInfo {
pub last_seen_at: Option<String>,
pub reason: ReconnectReason,
pub connection: u32,
}Expand description
Sent after every new connection except the first one.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.last_seen_at: Option<String>Last timestamp seen on this stream: enriched availableAt (falling back to
firstSeenAt), raw firstSeenAt; None when nothing arrived yet. Use it to fill gaps
through articles().search(); the SDK does not backfill.
reason: ReconnectReasonWhy the stream connected again.
connection: u32Connections this stream opened so far, the new one included. Refused and failed dials do not count.
Trait Implementations§
Source§impl Clone for ReconnectInfo
impl Clone for ReconnectInfo
Source§impl Debug for ReconnectInfo
impl Debug for ReconnectInfo
impl Eq for ReconnectInfo
Source§impl PartialEq for ReconnectInfo
impl PartialEq for ReconnectInfo
impl StructuralPartialEq for ReconnectInfo
Auto Trait Implementations§
impl Forget for ReconnectInfo
impl Freeze for ReconnectInfo
impl Move for ReconnectInfo
impl RefUnwindSafe for ReconnectInfo
impl Send for ReconnectInfowhere
RawVecInner: Send,
impl Sync for ReconnectInfowhere
RawVecInner: Sync,
impl Unpin for ReconnectInfo
impl UnsafeUnpin for ReconnectInfo
impl UnwindSafe for ReconnectInfowhere
RawVecInner: UnwindSafe,
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