pub trait BlockHash:
Clone
+ Copy
+ PartialEq
+ Eq
+ AsRef<[u8]> { }Expand description
A representation of a block’s hash.
This is effectively a trait alias where a potential representation of a block’s hash is any type which satisfies all of these bounds, and this is implemented for all such types.
The [BorshSerialize] implementation MUST be infallible if the underlying writer is
infallible. The [BorshDeserialize] implementation MUST be infallible if it is deserializing a
value which was successfully serialized, from a well-formed reader.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".