pub type Result<T, E = Error> = Result<T, E>;Expand description
Convenience type that allows a function to be defined as returning a
Result, but which only requires the success type to be specified,
defaulting the error type to this crates Error type.
Aliased Type§
pub enum Result<T, E = Error> {
Ok(T),
Err(E),
}