Represents an asynchronous I/O operation that yields a Result<T, Error>.
This is a promise that resolves to Ok(T) if the I/O operation was successful, or Err(Error) if there was an error.
Type Parameters
T
The type of the value that is produced by a successful I/O operation.
Represents an asynchronous I/O operation that yields a
Result<T, Error>. This is a promise that resolves toOk(T)if the I/O operation was successful, orErr(Error)if there was an error.