pub struct Options {
pub pool: Options,
pub http1: Options,
pub protocols: HttpProtocols,
pub max_requests: usize,
pub response_buffer_bytes: usize,
pub response_buffer_frames: usize,
pub tcp_nodelay: bool,
}Fields§
§pool: Options§http1: Options§protocols: HttpProtocolsHTTP engine selection, shared by plain and encrypted establishment.
max_requests: usizeBound accepted calls, including queued, uploading and unread responses.
response_buffer_bytes: usize§response_buffer_frames: usize§tcp_nodelay: boolDisable Nagle’s algorithm on each TCP 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 remains usable.
Implementations§
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