pub struct StreamContext {
pub stream_id: Vec<u8>,
pub last_seen_seq: i64,
}Expand description
Verifier state tracked per stream_id for v1.1 stream-bound bundles.
last_seen_seq is the highest sequence number the verifier has already
accepted for stream_id; zero means no turns accepted yet, so the first
valid bundle must carry stream_seq == 1.
Fields§
§stream_id: Vec<u8>§last_seen_seq: i64Trait Implementations§
Source§impl Clone for StreamContext
impl Clone for StreamContext
Source§impl Debug for StreamContext
impl Debug for StreamContext
Auto Trait Implementations§
impl Freeze for StreamContext
impl RefUnwindSafe for StreamContext
impl Send for StreamContext
impl Sync for StreamContext
impl Unpin for StreamContext
impl UnsafeUnpin for StreamContext
impl UnwindSafe for StreamContext
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