mirror of
https://github.com/actix/actix-web.git
synced 2024-12-21 23:56:35 +00:00
hide token and server flags
This commit is contained in:
parent
8dfc34e785
commit
3dafe6c251
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue