Type Alias libp2p_gossipsub::Rpc
source · pub type Rpc = Rpc;
👎Deprecated: Will be removed from the public API.
Aliased Type§
struct Rpc {
pub messages: Vec<RawMessage>,
pub subscriptions: Vec<Subscription>,
pub control_msgs: Vec<ControlAction>,
}
Fields§
§messages: Vec<RawMessage>
List of messages that were part of this RPC query.
subscriptions: Vec<Subscription>
List of subscriptions.
control_msgs: Vec<ControlAction>
List of Gossipsub control messages.