Module esp32_simple::infra

source ·
Expand description

Core infrastructure traits and types: infra::Poller, infra::Switch, and infra::State.

Enums§

  • Represents an on/off state, optionally carrying additional data when on.

Traits§

  • A trait representing a poller that performs periodic tasks.
  • A trait representing a switch that can toggle its state.