Type Alias forest_filecoin::libp2p::chain_exchange::ChainExchangeCodec

source ·
pub type ChainExchangeCodec = CborRequestResponse<&'static str, ChainExchangeRequest, ChainExchangeResponse>;
Expand description

ChainExchange protocol codec to be used within the RPC service.

Aliased Type§

struct ChainExchangeCodec {
    protocol: PhantomData<&'static str>,
    request: PhantomData<ChainExchangeRequest>,
    response: PhantomData<ChainExchangeResponse>,
}

Fields§

§protocol: PhantomData<&'static str>§request: PhantomData<ChainExchangeRequest>§response: PhantomData<ChainExchangeResponse>