pub struct Options {
pub http1: Options,
pub protocols: HttpProtocols,
pub max_connections: usize,
pub tcp_nodelay: bool,
}Fields§
§http1: Options§protocols: HttpProtocolsHTTP engine selection, shared by plain and encrypted establishment.
max_connections: usize§tcp_nodelay: boolDisable Nagle’s algorithm on each accepted connection, so small writes such as streamed frames are not held back waiting for acknowledgement. This is a best-effort latency hint: a socket that rejects it is still served.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Options
impl RefUnwindSafe for Options
impl Send for Options
impl Sync for Options
impl Unpin for Options
impl UnsafeUnpin for Options
impl UnwindSafe for Options
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