Trait avalanche_types::rpcchainvm::snowman::block::Getter
source · [−]pub trait Getter {
fn get_block<'life0, 'async_trait>(
&'life0 self,
id: Id
) -> Pin<Box<dyn Future<Output = Result<Box<dyn Block + Send + Sync>>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait;
}
Expand description
ref. https://pkg.go.dev/github.com/ava-labs/avalanchego/snow/engine/snowman/block#Getter