Skip to main content

ContentAddressable

Trait ContentAddressable 

Source
pub trait ContentAddressable {
    // Required method
    fn content_id(&self) -> ContentId;
}
Expand description

Trait for types that can produce a stable content identifier.

Required Methods§

Source

fn content_id(&self) -> ContentId

Returns the content identifier for this value.

Implementors§