Trait asset_lru::VfsReader[][src]

pub trait VfsReader: Read + Seek + Send + Sync + 'static {
    fn get_size(&self) -> Result<u64, Error>;
}
Expand description

A reader returned from the VFS.

Readers should handle closing in their drop implementations.

Required methods

Return the size of this object once read.

This function should try to be as inexpensive as possible.

Implementations on Foreign Types

Implementors