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: SubsystemMetersAll meters of the particular subsystem instance.
signals_received: usizeThe number of signals already received. Required to assure messages and signals are processed correctly.
name: &'static strName of the subsystem instance.