[−][src]Trait bp7::bundle::Block
Required methods
fn to_variant(&self) -> BlockVariants
Convert block struct to a serializable enum
fn has_crc(&self) -> bool
fn set_crc_type(&mut self, crc_type: CRCType)
fn crc_type(&self) -> CRCType
fn crc(&self) -> ByteBuffer
fn set_crc(&mut self, crc: ByteBuffer)
Provided methods
fn calculate_crc(&mut self)
fn check_crc(&self) -> bool
fn reset_crc(&mut self)
Reset crc field to an empty value
fn to_cbor(&self) -> ByteBuffer
Convert block to a cbor encoded byte vector