pub type Result<T> = Result<T, Error>;
The return type for encoding and decoding functions, based on core::result::Result, in which the error type is Error.
enum Result<T> { Ok(T), Err(Error), }
Contains the success value
Contains the error value