pub enum ResolvedEnvelope {
Verbatim,
Reconstructed(Value),
Unresolved(UnresolvedDelta),
}Expand description
What a reader should use in place of one event’s persisted raw value.
Variants§
Verbatim
The event carries no delta. Its persisted value stands as-is — this is every non-Raw
event, every pre-change full envelope, and every turn’s base frame.
Reconstructed(Value)
A delta resolved against its base. The carried value is byte-identical to the envelope the frame would have carried had it never been compacted.
Unresolved(UnresolvedDelta)
A delta that could not be resolved, and why. The event’s persisted value is untouched and still carries every field that actually changed, so a reader can show the delta itself rather than nothing.
Trait Implementations§
Source§impl Clone for ResolvedEnvelope
impl Clone for ResolvedEnvelope
Source§fn clone(&self) -> ResolvedEnvelope
fn clone(&self) -> ResolvedEnvelope
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 Debug for ResolvedEnvelope
impl Debug for ResolvedEnvelope
Source§impl PartialEq for ResolvedEnvelope
impl PartialEq for ResolvedEnvelope
impl StructuralPartialEq for ResolvedEnvelope
Auto Trait Implementations§
impl Freeze for ResolvedEnvelope
impl RefUnwindSafe for ResolvedEnvelope
impl Send for ResolvedEnvelope
impl Sync for ResolvedEnvelope
impl Unpin for ResolvedEnvelope
impl UnsafeUnpin for ResolvedEnvelope
impl UnwindSafe for ResolvedEnvelope
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