pub enum KeepAlive {}Expand description
Keep alive connection mode.
The FCGI_KEEP_CONN flag is set, asking the FastCGI server to keep the
connection open after responding. The request methods of
Client<S, KeepAlive> therefore take &mut self and can
be called repeatedly, sending one request at a time over the same stream.
This type is a compile time marker and cannot be instantiated:
ⓘ
use fastcgi_client::conn::KeepAlive;
// error: expected value, found enum `KeepAlive`
let _mode = KeepAlive {};Trait Implementations§
Auto Trait Implementations§
impl Freeze for KeepAlive
impl RefUnwindSafe for KeepAlive
impl Send for KeepAlive
impl Sync for KeepAlive
impl Unpin for KeepAlive
impl UnsafeUnpin for KeepAlive
impl UnwindSafe for KeepAlive
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more