1
0
Fork 0
mirror of https://github.com/actix/actix-web.git synced 2024-12-22 08:07:18 +00:00

hide token and server flags

This commit is contained in:
Nikolay Kim 2018-08-23 11:30:07 -07:00
parent 8dfc34e785
commit 3dafe6c251

View file

@ -193,6 +193,7 @@ where
HttpServer::new(factory)
}
#[doc(hidden)]
bitflags! {
///Flags that can be used to configure HTTP Server.
pub struct ServerFlags: u8 {
@ -256,6 +257,7 @@ impl Message for StopServer {
}
/// Socket id token
#[doc(hidden)]
#[derive(Clone, Copy)]
pub struct Token(usize);