pub struct Channels {Show 21 fields
pub feed: FeedChannels,
pub schedule_check: ScheduleCheckChannels,
pub actuate_simulator: ActuateSimulatorChannels,
pub relay_manager: RelayManagerChannels,
pub atlas_scientific: AtlasScientificChannels,
pub dht: DhtChannels,
pub ds18b20: Ds18b20Channels,
pub balling: BallingChannels,
pub data_logger: DataLoggerChannels,
pub i2c_interface: I2cInterfaceChannels,
pub tank_level_switch: TankLevelSwitchChannels,
pub tcp_communication: TcpCommunicationChannels,
pub heating: HeatingChannels,
pub ventilation: VentilationChannels,
pub signal_handler: SignalHandlerChannels,
pub monitors: MonitorsChannels,
pub watchdog: WatchDogChannels,
pub memory: MemoryChannels,
pub refill: RefillChannels,
pub sensor_manager: SensorManagerChannels,
pub messaging: MessagingChannels,
}Fields§
§feed: FeedChannels§schedule_check: ScheduleCheckChannels§actuate_simulator: ActuateSimulatorChannels§relay_manager: RelayManagerChannels§atlas_scientific: AtlasScientificChannels§dht: DhtChannels§ds18b20: Ds18b20Channels§balling: BallingChannels§data_logger: DataLoggerChannels§i2c_interface: I2cInterfaceChannels§tank_level_switch: TankLevelSwitchChannels§tcp_communication: TcpCommunicationChannels§heating: HeatingChannels§ventilation: VentilationChannels§signal_handler: SignalHandlerChannels§monitors: MonitorsChannels§watchdog: WatchDogChannels§memory: MemoryChannels§refill: RefillChannels§sensor_manager: SensorManagerChannels§messaging: MessagingChannelsImplementations§
Source§impl Channels
impl Channels
Sourcepub fn new(
relay_manager_use_simulator: bool,
sensor_manager_use_simulator: bool,
tank_level_switch_use_simulator: bool,
) -> Channels
pub fn new( relay_manager_use_simulator: bool, sensor_manager_use_simulator: bool, tank_level_switch_use_simulator: bool, ) -> Channels
Creates a new set of channels for the application based on the provided simulator configuration.
pub fn build( relay_manager_use_simulator: bool, sensor_manager_use_simulator: bool, tank_level_switch_use_simulator: bool, ) -> Channels
Auto Trait Implementations§
impl Freeze for Channels
impl RefUnwindSafe for Channels
impl Send for Channels
impl !Sync for Channels
impl Unpin for Channels
impl UnwindSafe for Channels
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more