pub struct LoadedDecoder {
pub hid: u64,
pub decoding_hypergraph: Option<Arc<DecodingHypergraph>>,
pub ignored_syndrome_vertices: Arc<Vec<u64>>,
pub projection: Arc<DecodeProjection>,
/* private fields */
}Expand description
A decoder loaded with one stable hypergraph and its shot-projection context.
Fields§
§hid: u64Backend handle returned when the stable deduplicated graph was loaded.
decoding_hypergraph: Option<Arc<DecodingHypergraph>>Decoder-facing graph after edge deduplication. It is retained only when a shot may need a materialized fallback graph or when parity-factor assertions need the graph locally.
ignored_syndrome_vertices: Arc<Vec<u64>>History-boundary vertices with no incident decoder edge. Window coordinators clear these syndrome bits instead of renumbering vertices; monolithic coordinators leave this list empty.
projection: Arc<DecodeProjection>Stable original-edge context used on cache hits to translate each shot’s
probability and loss updates into the loaded decoder’s edge numbering.
Shared because cached LoadedDecoder values are cloned per shot.
Trait Implementations§
Source§impl Clone for LoadedDecoder
impl Clone for LoadedDecoder
Auto Trait Implementations§
impl Forget for LoadedDecoder
impl Freeze for LoadedDecoder
impl Move for LoadedDecoder
impl RefUnwindSafe for LoadedDecoder
impl Send for LoadedDecoder
impl Sync for LoadedDecoder
impl Unpin for LoadedDecoder
impl UnsafeUnpin for LoadedDecoder
impl UnwindSafe for LoadedDecoder
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<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> 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 moreSource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request