pub type Result<T> = Result<T, Error>;
Expand description
A specialized Result type
for operations that can return errno
.
This typedef is generally used to avoid writing out errno::Error
directly and is
otherwise a direct mapping to Result
.
Aliased Type§
enum Result<T> {
Ok(T),
Err(Error),
}