Trait 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.

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§