[][src]Function tide::with_state

pub fn with_state<State>(state: State) -> Server<State> where
    State: Send + Sync + 'static, 

Create a new Tide server with shared global state.