Skip to main content

PathChecksum

Trait PathChecksum 

Source
pub trait PathChecksum {
    // Required methods
    fn calculate_sha256(&self) -> Result<Checksum, Error>;
    fn calculate_sha256_filtered(
        &self,
        filter: fn(&Path) -> bool,
    ) -> Result<Checksum, Error>;
    fn calculate_entries_sha256(
        &self,
    ) -> Result<HashMap<String, Checksum>, Error>;
}

Required Methods§

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl PathChecksum for Path

Implementors§