sp_runtime::traits

Trait HashOutput

Source
pub trait HashOutput:
    Member
    + MaybeSerializeDeserialize
    + MaybeDisplay
    + MaybeFromStr
    + Debug
    + Hash
    + AsRef<[u8]>
    + AsMut<[u8]>
    + Copy
    + Ord
    + Default
    + Encode
    + Decode
    + EncodeLike
    + MaxEncodedLen
    + TypeInfo { }
Expand description

Super trait with all the attributes for a hashing output.

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.

Implementors§