pub trait ContentAddressable {
// Required method
fn content_id(&self) -> ContentId;
}Expand description
Trait for types that can produce a stable content identifier.
Required Methods§
Sourcefn content_id(&self) -> ContentId
fn content_id(&self) -> ContentId
Returns the content identifier for this value.