Expand description
Error types for dstar-gateway-core.
Per-protocol structured error variants are used so that callers can pattern-match to distinguish I/O failures from timeouts from protocol errors from type-validation errors.
Re-exports§
pub use crate::codec::dcs::error::DcsError;pub use crate::codec::dextra::error::DExtraError;pub use crate::codec::dplus::error::DPlusError;
Enums§
- Encode
Error - Errors raised by
encode_*functions when the supplied output buffer is too small for the packet they are asked to write. - Error
- Top-level error type for
dstar-gateway-core. - IoOperation
- What kind of I/O operation an
crate::error::Error::Iovariant was attempting when it failed. - Protocol
Error - Per-protocol structured errors.
- State
Error - Runtime state-machine errors that the typestate cannot prevent.
- Timeout
Error - Typed deadline-exceeded errors.