pub enum Error {
Show 15 variants
EmptySymbol,
SymbolCapacityExceeded,
SymbolSizeMismatch,
EmptyWindow,
WindowCapacityExceeded,
EquationCapacityExceeded,
InvalidDensityThreshold,
RepairKeyMustBeZero,
EmptyEncodingWindow,
RepairWindowTooLarge,
WindowExpired,
AmbiguousSequence,
EquationStoreFull,
ConflictingSource,
InconsistentEquation,
}Expand description
A codec configuration error or an error encountered while processing a symbol.
Variants§
EmptySymbol
The symbol size is zero.
SymbolCapacityExceeded
The configured active symbol size exceeds the type’s hard capacity.
SymbolSizeMismatch
A source or repair symbol does not have the configured size.
EmptyWindow
The coding window size is zero.
WindowCapacityExceeded
The coding window exceeds either the RFC limit or the type’s hard capacity.
EquationCapacityExceeded
The active decoder equation capacity is zero or exceeds its hard capacity.
InvalidDensityThreshold
The supplied density threshold is greater than 15.
RepairKeyMustBeZero
GF(2) at full density requires a zero repair key on the sending side.
EmptyEncodingWindow
No source symbol is currently available for repair generation.
RepairWindowTooLarge
A received repair window is larger than the configured decoding window.
WindowExpired
A symbol or repair window is older than the retained decoding window.
AmbiguousSequence
Sequence ordering is ambiguous at exactly half the u32 sequence space.
EquationStoreFull
The bounded equation store has no room for another innovative equation.
ConflictingSource
Received data contradicts data already known to the decoder.
InconsistentEquation
A reduced equation has no variables but has a nonzero right-hand side.
Trait Implementations§
impl Copy for Error
impl Eq for Error
Source§impl Error for Error
impl Error for Error
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()