pub trait Block {
// Required method
fn to_cbor(&self) -> ByteBuffer;
}
Required Methods§
sourcefn to_cbor(&self) -> ByteBuffer
fn to_cbor(&self) -> ByteBuffer
Convert block struct to a serializable enum
pub trait Block {
// Required method
fn to_cbor(&self) -> ByteBuffer;
}
Convert block struct to a serializable enum