Trait hotshot_types::traits::block_contents::EncodeBytes
source · pub trait EncodeBytes {
// Required method
fn encode(&self) -> Arc<[u8]>;
}
Expand description
Trait for structures that need to be unambiguously encoded as bytes.