wired_handler_hyper 0.12.0

wired_handler's hyper extzension
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use wired_handler::{
    plain::PlainState, State, StateSyncGet, StateSyncGetCloned, StateSyncMutableGetMut,
    StateSyncMutableGetMutOrInsert, StateSyncMutableInsert, StateSyncMutableRemoveGet,
};

/// Data specific to a request
#[derive(
    Debug,
    Default,
    State,
    StateSyncGet,
    StateSyncGetCloned,
    StateSyncMutableGetMut,
    StateSyncMutableInsert,
    StateSyncMutableRemoveGet,
    StateSyncMutableGetMutOrInsert,
)]
pub struct RequestState(PlainState);