1
0
mirror of https://github.com/actix/actix-extras.git synced 2024-12-01 02:44:37 +01: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);