Type Alias phron_finality::network::session::Network
source · type Network<D> = SimpleNetwork<D, UnboundedReceiver<D>, SessionSender<D>>;
Expand description
Sends and receives data within a single session.
Aliased Type§
struct Network<D> {
receiver: UnboundedReceiver<D>,
sender: SessionSender<D>,
_phantom: PhantomData<D>,
}
Fields§
§receiver: UnboundedReceiver<D>
§sender: SessionSender<D>
§_phantom: PhantomData<D>