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 · 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
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()