referrerpolicy=no-referrer-when-downgrade

Type Alias polkadot_node_subsystem::SubsystemInstance

source ·
pub type SubsystemInstance<Message> = SubsystemInstance<Message, OverseerSignal>;
Expand description

Specialized subsystem instance type of subsystems consuming a particular message type.

Aliased Type§

struct SubsystemInstance<Message> {
    pub tx_signal: MeteredSender<OverseerSignal>,
    pub tx_bounded: MeteredSender<MessagePacket<Message>>,
    pub meters: SubsystemMeters,
    pub signals_received: usize,
    pub name: &'static str,
}

Fields§

§tx_signal: MeteredSender<OverseerSignal>

Send sink for Signals to be sent to a subsystem.

§tx_bounded: MeteredSender<MessagePacket<Message>>

Send sink for Messages to be sent to a subsystem.

§meters: SubsystemMeters

All meters of the particular subsystem instance.

§signals_received: usize

The number of signals already received. Required to assure messages and signals are processed correctly.

§name: &'static str

Name of the subsystem instance.