Skip to main content

Digest

Trait Digest 

Source
pub trait Digest<ID>
where ID: OperationId,
{ // Required method fn hash(&self) -> ID; }
Expand description

Returns (unique) hash digest, which can be used as identifier of this published data type.

Required Methods§

Source

fn hash(&self) -> ID

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<E> Digest<Hash> for Operation<E>