1
0
Fork 0
mirror of https://github.com/actix/actix-web.git synced 2025-01-03 05:48:45 +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) HttpServer::new(factory)
} }
#[doc(hidden)]
bitflags! { bitflags! {
///Flags that can be used to configure HTTP Server. ///Flags that can be used to configure HTTP Server.
pub struct ServerFlags: u8 { pub struct ServerFlags: u8 {
@ -256,6 +257,7 @@ impl Message for StopServer {
} }
/// Socket id token /// Socket id token
#[doc(hidden)]
#[derive(Clone, Copy)] #[derive(Clone, Copy)]
pub struct Token(usize); pub struct Token(usize);