Type Alias forest_filecoin::libp2p::hello::codec::HelloCodec

source ·
pub type HelloCodec = CborRequestResponse<&'static str, HelloRequest, HelloResponse>;
Expand description

Hello protocol codec to be used within the RPC service.

Aliased Type§

struct HelloCodec {
    protocol: PhantomData<&'static str>,
    request: PhantomData<HelloRequest>,
    response: PhantomData<HelloResponse>,
}

Fields§

§protocol: PhantomData<&'static str>§request: PhantomData<HelloRequest>§response: PhantomData<HelloResponse>