Trait warg_protocol::Record

source ·
pub trait Record: Clone + Decode + Send + Sync {
    // Required method
    fn contents(&self) -> IndexSet<&AnyHash>;
}
Expand description

Trait implemented by the record types.

Required Methods§

source

fn contents(&self) -> IndexSet<&AnyHash>

Gets the set of content hashes associated with the record.

An empty set indicates that the record has no associated content.

Object Safety§

This trait is not object safe.

Implementors§