[][src]Crate my_iot

Entry point.

Modules

consts
db

Database interface.

message

Describes a sensor reading and related structures.

persistence

Readings persistence.

services

Implements generic Service trait.

settings

Settings structs.

supervisor

Allows to monitor thread status and automatically respawn a crashed thread.

templates

Web interface templates.

value

Implements sensor reading value.

web

Implements web server.

Constants

DEFAULT_DB_PATH
DEFAULT_SETTINGS_PATH

Functions

main

Entry point.

spawn_dispatcher

Spawn message dispatcher that broadcasts every received message to emulate a multi-producer multi-consumer queue.

spawn_services

Spawn all configured services.

Type Definitions

Result