ntex 4.0.0-beta.1

Framework for composable network services
Documentation
1
2
3
4
5
6
7
8
9
use super::error::{ErrorContainer, WebError};

pub trait AppState: 'static {
    type Error: ErrorContainer;
}

impl AppState for () {
    type Error = WebError;
}