pub fn new_std_io_error(err: Error) -> Error
Parse std io error into opendal::Error.
Add NotADirectory and IsADirectory once they are stable.
NotADirectory
IsADirectory
ref: https://github.com/rust-lang/rust/issues/86442