Skip to main content

HasIntegrity

Trait HasIntegrity 

Source
pub trait HasIntegrity {
    // Required method
    fn hash(&self) -> impl Future<Output = Result<Integrity>> + Send;
}

Required Methods§

Source

fn hash(&self) -> impl Future<Output = Result<Integrity>> + Send

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementations on Foreign Types§

Source§

impl HasIntegrity for Bytes

Source§

async fn hash(&self) -> Result<Integrity>

Source§

impl HasIntegrity for Path

Source§

async fn hash(&self) -> Result<Integrity>

Source§

impl HasIntegrity for PathBuf

Source§

async fn hash(&self) -> Result<Integrity>

Implementors§