1 2 3 4 5 6
pub mod main; pub trait SensorState {} pub struct OnState; impl SensorState for OnState {}