pub trait CertificateValue: Clone {
const KIND: CertificateKind;
// Required methods
fn chain_id(&self) -> ChainId;
fn epoch(&self) -> Epoch;
fn height(&self) -> BlockHeight;
fn required_blob_ids(&self) -> BTreeSet<BlobId>;
fn hash(&self) -> CryptoHash;
}
Required Associated Constants§
const KIND: CertificateKind
Required Methods§
fn chain_id(&self) -> ChainId
fn epoch(&self) -> Epoch
fn height(&self) -> BlockHeight
fn required_blob_ids(&self) -> BTreeSet<BlobId>
fn hash(&self) -> CryptoHash
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.