//! App state management.
usecrate::{actix::Addr, Coordinator};usestd::sync::Arc;/// Contains the coordinator and other required state components.
#[derive(Clone, Debug)]pubstructState{/// The coordinator.
// We don't need an RwLock because we'll just be sending messages.
pubcoord:Arc<Coordinator>,
/// The address of the coordinator.
pubaddr:Addr<Coordinator>,
}