pzzld_server/traits/stateful.rs
1/*
2 Appellation: stateful <module>
3 Contrib: FL03 <jo3mccain@icloud.com>
4*/
5
6/// A trait for types that can be used as application state in Axum applications.
7pub trait AxumState: Clone + Send + Sync + 'static {}
8
9/*
10 ************* Implementations *************
11*/
12impl<T> AxumState for T where T: Clone + Send + Sync + 'static {}