fuel_tx

Trait BlobIdExt

Source
pub trait BlobIdExt {
    // Required method
    fn compute(data: &[u8]) -> BlobId;
}
Expand description

Adds method to BlobId to compute the it from blob data.

Required Methods§

Source

fn compute(data: &[u8]) -> BlobId

Computes the BlobId from by hashing the given data.

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.

Implementors§