FileNode

Trait FileNode 

Source
pub trait FileNode {
    // Required methods
    fn cache_offset(&self) -> i64;
    fn timestamp(&self) -> i64;
    fn comp_len(&self) -> i32;
    fn len(&self) -> i32;
}
Expand description

Trait for file nodes.

Required Methods§

Source

fn cache_offset(&self) -> i64

Returns the cache offset of the file.

Source

fn timestamp(&self) -> i64

Returns the timestamp of the file.

Source

fn comp_len(&self) -> i32

Returns the compressed length of the file.

Source

fn len(&self) -> i32

Returns the decompressed length of the file.

Implementors§