pub struct ScheduleCheckChannels {
pub tx_schedule_check_to_ventilation: AquaSender<bool>,
pub rx_schedule_check_from_ventilation: AquaReceiver<InternalCommand>,
pub tx_schedule_check_to_heating: AquaSender<bool>,
pub rx_schedule_check_from_heating: AquaReceiver<InternalCommand>,
pub tx_schedule_check_to_refill: AquaSender<bool>,
pub rx_schedule_check_from_refill: AquaReceiver<InternalCommand>,
pub tx_schedule_check_to_balling: AquaSender<bool>,
pub rx_schedule_check_from_balling: AquaReceiver<InternalCommand>,
pub tx_schedule_check_to_signal_handler: AquaSender<bool>,
pub rx_schedule_check_from_signal_handler: AquaReceiver<InternalCommand>,
}Expand description
Struct collects all channels for communication between ScheduleCheck and other components.
Fields§
§tx_schedule_check_to_ventilation: AquaSender<bool>Sender part of the channel for communication to ventilation
rx_schedule_check_from_ventilation: AquaReceiver<InternalCommand>Receiver part of the channel for communication from ventilation
tx_schedule_check_to_heating: AquaSender<bool>Sender part of the channel for communication to heating
rx_schedule_check_from_heating: AquaReceiver<InternalCommand>Receiver part of the channel for communication from heating
tx_schedule_check_to_refill: AquaSender<bool>Sender part of the channel for communication to refill
rx_schedule_check_from_refill: AquaReceiver<InternalCommand>Receiver part of the channel for communication from refill
tx_schedule_check_to_balling: AquaSender<bool>Sender part of the channel for communication to the Balling dosing control
rx_schedule_check_from_balling: AquaReceiver<InternalCommand>Receiver part of the channel for communication from the Balling dosing control
tx_schedule_check_to_signal_handler: AquaSender<bool>Sender part of the channel for communication to the signal handler
rx_schedule_check_from_signal_handler: AquaReceiver<InternalCommand>Receiver part of the channel for communication from the signal handler
Implementations§
Source§impl ScheduleCheckChannels
impl ScheduleCheckChannels
Sourcepub fn send_to_signal_handler(
&mut self,
ack: bool,
) -> Result<(), AquaChannelError>
pub fn send_to_signal_handler( &mut self, ack: bool, ) -> Result<(), AquaChannelError>
Sends an acknowledgment to the signal handler.
Trait Implementations§
Source§impl AcknowledgeSignalHandlerTrait for ScheduleCheckChannels
impl AcknowledgeSignalHandlerTrait for ScheduleCheckChannels
Source§fn send_true_to_signal_handler(&mut self) -> Result<(), AquaChannelError>
fn send_true_to_signal_handler(&mut self) -> Result<(), AquaChannelError>
Source§fn location(&self) -> String
fn location(&self) -> String
Source§fn acknowledge_signal_handler(&mut self)
fn acknowledge_signal_handler(&mut self)
SignalHandler by sending a confirmation message. Read more