Trait parity_machine::WithMetadata[][src]

pub trait WithMetadata: LiveBlock {
    fn metadata(&self) -> Option<&[u8]>;
fn set_metadata(&mut self, value: Option<Vec<u8>>); }

A state machine with block metadata.

Required Methods

Get the current live block metadata.

Set the current live block metadata.

Implementors