Skip to main content

ForensicFs

Trait ForensicFs 

Source
pub trait ForensicFs: Send + Sync {
    // Required methods
    fn list(&self, path: &str) -> Result<Vec<FsEntry>>;
    fn read(&self, path: &str) -> Result<Vec<u8>>;
    fn exists(&self, path: &str) -> bool;
    fn unallocated_regions(&self) -> Vec<UnallocatedRegion>;
}

Required Methods§

Source

fn list(&self, path: &str) -> Result<Vec<FsEntry>>

Source

fn read(&self, path: &str) -> Result<Vec<u8>>

Source

fn exists(&self, path: &str) -> bool

Source

fn unallocated_regions(&self) -> Vec<UnallocatedRegion>

Implementors§