pub type DecodeResult<T> = Result<T, Error>;
A specialized Result type for decoding operations.
Result
pub enum DecodeResult<T> { Ok(T), Err(Error), }
Contains the success value
Contains the error value