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.

Object Safety§

This trait is not object safe.

Implementors§