Struct actix_web::server::PauseServer
source · pub struct PauseServer;
Expand description
Pause accepting incoming connections
If socket contains some pending connection, they might be dropped. All opened connection remains active.
Trait Implementations
sourceimpl Handler<PauseServer> for Server
impl Handler<PauseServer> for Server
Auto Trait Implementations
impl RefUnwindSafe for PauseServer
impl Send for PauseServer
impl Sync for PauseServer
impl Unpin for PauseServer
impl UnwindSafe for PauseServer
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more