pub struct SystematicRunLocator {
pub object_id: ObjectId,
pub segment_id: u64,
pub esi_start: u32,
pub esi_end_inclusive: u32,
pub offsets: Vec<SymbolLogOffset>,
}Expand description
Locator for a contiguous systematic-symbol run (ESI 0..K-1) for an object.
This captures the physical placement needed by the §3.5.2 fast path:
read the first K source symbols sequentially and reconstruct without
invoking GF(256) decode.
Fields§
§object_id: ObjectIdObject whose systematic run is located.
segment_id: u64Segment containing the run.
esi_start: u32Inclusive start of the ESI range (always 0 for systematic runs).
esi_end_inclusive: u32Inclusive end of the ESI range (K-1).
offsets: Vec<SymbolLogOffset>Locator offsets in ascending ESI order.
Implementations§
Source§impl SystematicRunLocator
impl SystematicRunLocator
Sourcepub fn source_symbol_count(&self) -> usize
pub fn source_symbol_count(&self) -> usize
Number of source symbols in this run.
Trait Implementations§
Source§impl Clone for SystematicRunLocator
impl Clone for SystematicRunLocator
Source§fn clone(&self) -> SystematicRunLocator
fn clone(&self) -> SystematicRunLocator
Returns a duplicate of the value. Read more
1.0.0 · 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 SystematicRunLocator
impl Debug for SystematicRunLocator
Source§impl PartialEq for SystematicRunLocator
impl PartialEq for SystematicRunLocator
impl Eq for SystematicRunLocator
impl StructuralPartialEq for SystematicRunLocator
Auto Trait Implementations§
impl Freeze for SystematicRunLocator
impl RefUnwindSafe for SystematicRunLocator
impl Send for SystematicRunLocator
impl Sync for SystematicRunLocator
impl Unpin for SystematicRunLocator
impl UnsafeUnpin for SystematicRunLocator
impl UnwindSafe for SystematicRunLocator
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§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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, _span: NoopSpan) -> Self
fn instrument(self, _span: NoopSpan) -> Self
Instruments this future with a span (no-op when disabled).
Source§fn in_current_span(self) -> Self
fn in_current_span(self) -> Self
Instruments this future with the current span (no-op when disabled).