pub type DeResult<T> = Result<T, Error>;Expand description
Serde documentation shadows the std’s Result type which can be really confusing for Rust newcomers, so we compromise by creating an alias but prefixing with “De” to make it standout.
Aliased Type§
pub enum DeResult<T> {
Ok(T),
Err(Error),
}