pub trait Parser {
    fn parse_block<'life0, 'life1, 'async_trait>(
        &'life0 self,
        bytes: &'life1 [u8]
    ) -> Pin<Box<dyn Future<Output = Result<Box<dyn Block + Send + Sync>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; }
Expand description

ref. https://pkg.go.dev/github.com/ava-labs/avalanchego/snow/engine/snowman/block#Parser

Required Methods

Implementors