pub trait EntryExt {
// Required methods
fn check_path(&self) -> Result<&Path, Error>;
fn verify<R>(
&self,
blake3: Hash,
size: u64,
reader: &DataReader<R>,
) -> Result<(), Error>
where R: Sized;
}Expand description
Handy associated functions for pkgar_core::Entry that depend on std
Required Methods§
fn check_path(&self) -> Result<&Path, Error>
fn verify<R>(
&self,
blake3: Hash,
size: u64,
reader: &DataReader<R>,
) -> Result<(), Error>where
R: Sized,
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.