Trait fs_node::File

source ·
pub trait File: FsNode + ByteReader + ByteWriter + KnownLength {
    // Required method
    fn as_mapping(&self) -> Result<&MappedPages, &'static str>;
}

Required Methods§

source

fn as_mapping(&self) -> Result<&MappedPages, &'static str>

Returns a view of this file as an immutable memory-mapped region.

Implementors§