pub enum SystematicLayoutError {
Show 15 variants
EmptySymbolSet,
ZeroSymbolSize,
SourceSymbolCountTooLarge {
source_symbols: u64,
},
SourceSymbolCountExceedsEsiRange {
source_symbols: u64,
},
TransferLengthTooLarge {
transfer_length: u64,
},
ReconstructedSizeOverflow {
source_symbols: usize,
symbol_size: usize,
},
InconsistentObjectId {
expected: ObjectId,
found: ObjectId,
esi: u32,
},
InconsistentOti {
expected: Oti,
found: Oti,
esi: u32,
},
InvalidSymbolPayloadSize {
esi: u32,
expected: usize,
found: usize,
},
MissingSystematicStartFlag,
MissingSystematicSymbol {
expected_esi: u32,
},
DuplicateSystematicSymbol {
esi: u32,
},
NonContiguousSystematicSymbol {
expected_esi: u32,
found_esi: u32,
},
RepairInterleaved {
index: usize,
esi: u32,
},
CorruptSymbol {
esi: u32,
},
}Expand description
Error when validating or reconstructing systematic symbol runs.
Variants§
EmptySymbolSet
No symbol records were provided.
ZeroSymbolSize
OTI uses t = 0, which is invalid.
SourceSymbolCountTooLarge
Source-symbol count cannot be represented on this platform.
SourceSymbolCountExceedsEsiRange
Source-symbol count exceeds the u32 ESI namespace.
TransferLengthTooLarge
Transfer length cannot be represented as usize.
ReconstructedSizeOverflow
Reconstructed buffer size overflow.
InconsistentObjectId
Record object id does not match the run’s object id.
InconsistentOti
Record OTI does not match the run’s OTI.
InvalidSymbolPayloadSize
Record payload length does not match OTI.t.
MissingSystematicStartFlag
ESI 0 must carry SymbolRecordFlags::SYSTEMATIC_RUN_START.
MissingSystematicSymbol
Missing required source symbol.
DuplicateSystematicSymbol
Duplicate source symbol with the same ESI.
NonContiguousSystematicSymbol
Source symbols are not laid out as ESI 0..K-1 contiguously.
RepairInterleaved
A source symbol appears after the systematic run.
CorruptSymbol
Symbol integrity check failed.
Trait Implementations§
Source§impl Clone for SystematicLayoutError
impl Clone for SystematicLayoutError
Source§fn clone(&self) -> SystematicLayoutError
fn clone(&self) -> SystematicLayoutError
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for SystematicLayoutError
impl Debug for SystematicLayoutError
Source§impl Display for SystematicLayoutError
impl Display for SystematicLayoutError
impl Eq for SystematicLayoutError
Source§impl Error for SystematicLayoutError
impl Error for SystematicLayoutError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()
Source§impl PartialEq for SystematicLayoutError
impl PartialEq for SystematicLayoutError
Source§fn eq(&self, other: &SystematicLayoutError) -> bool
fn eq(&self, other: &SystematicLayoutError) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SystematicLayoutError
Auto Trait Implementations§
impl Freeze for SystematicLayoutError
impl RefUnwindSafe for SystematicLayoutError
impl Send for SystematicLayoutError
impl Sync for SystematicLayoutError
impl Unpin for SystematicLayoutError
impl UnsafeUnpin for SystematicLayoutError
impl UnwindSafe for SystematicLayoutError
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
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
key and return true if they are equal.