1 2 3 4 5 6 7 8 9 10 11 12 13 14
//! Core octopus state handling use std::sync::Arc; pub(crate) type StateRef = Arc<OctoState>; /// Holds all state handles for the application pub(crate) struct OctoState {} impl OctoState { pub(crate) fn new() -> StateRef { Arc::new(Self {}) } }