Skip to content

Struct client::Cursor

zaun_community_protocol::client::Cursor · Struct

pub struct Cursor { … }

One stream’s position: the highest contiguous sequence applied, and events held aside.

pub const fn applied(&self) -> u64

The highest contiguous sequence applied.

pub fn held(&self) -> usize

Events held aside behind a gap.

Clone, Debug, Default

Full rustdoc page