mirror of
https://github.com/actix/actix-extras.git
synced 2024-11-28 09:42:40 +01:00
hide token and server flags
This commit is contained in:
parent
8dfc34e785
commit
3dafe6c251
@ -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 New Issue
Block a user