pub fn new(state: S) -> Self {
        Self {
            state,
            routes: Router::new(),
            filters: vec![],
        }
    }
/// Create a new `App` with the given state.
/// State must be `Send + Sync + 'static` because it gets shared by all route handlers.
/// If you need inner mutability use a `Mutex` or similar.
Create a new `App` with the given state.
State must be `Send + Sync + 'static` because it gets shared by all route handlers.
If you need inner mutability use a `Mutex` or similar.
Create a new ` App ` with the given state . State must be ` Send + Sync + ' static ` because it gets shared by all route handlers . If you need inner mutability use a ` Mutex ` or similar .
pub fn new(state: S) -> Self {
        Self {
            state,
            routes: Router::new(),
            filters: vec![],
        }
    }
pub fn new ( state : S ) -> Self { Self { state , routes : Router :: new ( ) , filters : vec ! [ ] , } }
Create a new `App` with the given state.
Create a new ` App ` with the given state .
state
S