referrerpolicy=no-referrer-when-downgrade

Trait staging_node_inspect::PrettyPrinter

source ·
pub trait PrettyPrinter<TBlock: Block> {
    // Required methods
    fn fmt_block(&self, fmt: &mut Formatter<'_>, block: &TBlock) -> Result;
    fn fmt_extrinsic(
        &self,
        fmt: &mut Formatter<'_>,
        extrinsic: &TBlock::Extrinsic,
    ) -> Result;
}
Expand description

A Pretty formatter implementation.

Required Methods§

source

fn fmt_block(&self, fmt: &mut Formatter<'_>, block: &TBlock) -> Result

Nicely format block.

source

fn fmt_extrinsic( &self, fmt: &mut Formatter<'_>, extrinsic: &TBlock::Extrinsic, ) -> Result

Nicely format extrinsic.

Implementors§

source§

impl<TBlock: Block> PrettyPrinter<TBlock> for DebugPrinter