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
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 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)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl PartialEq for SystematicLayoutError
impl PartialEq for SystematicLayoutError
impl Eq for SystematicLayoutError
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
Mutably borrows from an owned value. Read more