pub type Result<T> = Result<T, Error>;
Expand description
The top-level result type for dealing with
fallible operations. The errors tend to
be fail-stop, and nested results are used
in cases where the outer fail-stop error can
have try ?
used on it, exposing the inner
operation that is expected to fail under
normal operation. The philosophy behind this
is detailed on the sled blog.
Aliased Type§
enum Result<T> {
Ok(T),
Err(Error),
}