pub enum SourcePin {
Projected(Box<ProjectionManifest>),
Journal(JournalAnchor),
Authoritative(u64),
}Expand description
One exact source premise a result read.
Variants§
Projected(Box<ProjectionManifest>)
An exact published projection generation.
Boxed: a manifest is far larger than the other two premises, and an unboxed variant would make every pin in a thirty-two-pin vector that size.
Journal(JournalAnchor)
An exact anchored journal prefix.
Authoritative(u64)
An authoritative revision.
Implementations§
Source§impl SourcePin
impl SourcePin
Sourcepub fn identity_bytes(&self) -> Vec<u8> ⓘ
pub fn identity_bytes(&self) -> Vec<u8> ⓘ
Returns the canonical identity this pin sorts by.
The rule matches the durable audit’s own: a variant tag, then each source’s identity as length-prefixed bytes. Two projected descriptors for one key, two anchors for one partition, and two authoritative revisions therefore compare equal and are refused rather than collapsed.
Trait Implementations§
impl Eq for SourcePin
impl StructuralPartialEq for SourcePin
Auto Trait Implementations§
impl Freeze for SourcePin
impl RefUnwindSafe for SourcePin
impl Send for SourcePin
impl Sync for SourcePin
impl Unpin for SourcePin
impl UnsafeUnpin for SourcePin
impl UnwindSafe for SourcePin
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