pub type IOResult<T> = Result<Result<T, HostErrno>, ()>;
Expand description
The result type for host I/O operations. Return error if the operation
in question is not implemented. Otherwise, the success type indicates
whether the operation succeeded, with HostErrno
values for failure.
Aliased Type§
enum IOResult<T> {
Ok(Result<T, HostErrno>),
Err(()),
}