Trait linera_base::crypto::HasTypeName

source ·
pub trait HasTypeName {
    // Required method
    fn type_name() -> &'static str;
}
Expand description

Something that we know how to hash and sign.

Required Methods§

source

fn type_name() -> &'static str

The name of the type.

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<'de, T> HasTypeName for T
where T: BcsHashable<'de>,