pub enum StreamContinuityRecord<B = Vec<u8>> {
Manifest {
record: B,
},
Gap {
first_id: u64,
last_id: u64,
reason: SourceGapReason,
},
RecoveryPoint {
copperlist_id: u64,
record: B,
},
Finished {
next_copperlist_id: u64,
},
}Expand description
Stored in UnifiedLogType::StreamContinuity. Ranges are inclusive.
Writers use borrowed byte slices; readers choose owned storage when required.
Gaps remain missing history even when a later keyframe permits state replay.
Variants§
Manifest
Canonical semantic manifest bytes bind identity, receiver requirements and schema.
Fields
§
record: BGap
RecoveryPoint
Verified keyframe/manifest references, retained as canonical recovery point bytes.
Finished
Explicit receiver finalization, not a claim about an unobserved sender tail.
Trait Implementations§
Source§impl<'__de, B, __Context> BorrowDecode<'__de, __Context> for StreamContinuityRecord<B>where
B: BorrowDecode<'__de, __Context>,
impl<'__de, B, __Context> BorrowDecode<'__de, __Context> for StreamContinuityRecord<B>where
B: BorrowDecode<'__de, __Context>,
Source§fn borrow_decode<__D: BorrowDecoder<'__de, Context = __Context>>(
decoder: &mut __D,
) -> Result<Self, DecodeError>
fn borrow_decode<__D: BorrowDecoder<'__de, Context = __Context>>( decoder: &mut __D, ) -> Result<Self, DecodeError>
Attempt to decode this type with the given BorrowDecode.
Source§impl<B: Clone> Clone for StreamContinuityRecord<B>
impl<B: Clone> Clone for StreamContinuityRecord<B>
Source§fn clone(&self) -> StreamContinuityRecord<B>
fn clone(&self) -> StreamContinuityRecord<B>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<B: Debug> Debug for StreamContinuityRecord<B>
impl<B: Debug> Debug for StreamContinuityRecord<B>
Source§impl<B, __Context> Decode<__Context> for StreamContinuityRecord<B>where
B: Decode<__Context>,
impl<B, __Context> Decode<__Context> for StreamContinuityRecord<B>where
B: Decode<__Context>,
Source§impl<B> Encode for StreamContinuityRecord<B>where
B: Encode,
impl<B> Encode for StreamContinuityRecord<B>where
B: Encode,
impl<B: Eq> Eq for StreamContinuityRecord<B>
Source§impl<B: PartialEq> PartialEq for StreamContinuityRecord<B>
impl<B: PartialEq> PartialEq for StreamContinuityRecord<B>
impl<B: PartialEq> StructuralPartialEq for StreamContinuityRecord<B>
Auto Trait Implementations§
impl<B> Freeze for StreamContinuityRecord<B>where
B: Freeze,
impl<B> RefUnwindSafe for StreamContinuityRecord<B>where
B: RefUnwindSafe,
impl<B> Send for StreamContinuityRecord<B>where
B: Send,
impl<B> Sync for StreamContinuityRecord<B>where
B: Sync,
impl<B> Unpin for StreamContinuityRecord<B>where
B: Unpin,
impl<B> UnsafeUnpin for StreamContinuityRecord<B>where
B: UnsafeUnpin,
impl<B> UnwindSafe for StreamContinuityRecord<B>where
B: 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
impl<T> GetTypeRegistration for T
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more