Struct Channels

Source
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: MessagingChannels

Implementations§

Source§

impl Channels

Source

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.

Source

pub fn build( relay_manager_use_simulator: bool, sensor_manager_use_simulator: bool, tank_level_switch_use_simulator: bool, ) -> Channels

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> ErasedDestructor for T
where T: 'static,

Source§

impl<T> MaybeSendSync for T