IStorageFile
trait · ferroui-base · v0.5.0
trait IStorageFile: IStorageItem
Represents a file. Provides information about the file and its contents, and ways to manipulate them.
This interface is not meant to be implemented by applications.
Members
open_read_async
fn open_read_async(self: &Self) -> LocalBoxFuture<std::io::Result<Box<dyn Read>>>
Opens a stream for read access.
Fails (among other reasons) when access to the file is denied.
open_write_async
fn open_write_async(self: &Self) -> LocalBoxFuture<std::io::Result<Box<dyn Write>>>
Opens a stream for writing to the file.
Fails (among other reasons) when access to the file is denied.
Trait implementations
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.