FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    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.

    View source

    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.

    Source

    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.

    Source

    Trait implementations

    Availability

    Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.