#[repr(C)]pub struct aws_http1_connection_options {
pub read_buffer_capacity: usize,
}
Expand description
Options specific to HTTP/1.x connections.
Fields
read_buffer_capacity: usize
Optional Capacity in bytes of the HTTP/1 connection’s read buffer. The buffer grows if the flow-control window of the incoming HTTP-stream reaches zero. If the buffer reaches capacity, no further socket data is read until the HTTP-stream’s window opens again, allowing data to resume flowing.
Ignored if manual_window_management
is false.
If zero is specified (the default) then a default capacity is chosen.
A capacity that is too small may hinder throughput.
A capacity that is too big may waste memory without helping throughput.
Trait Implementations
sourceimpl Clone for aws_http1_connection_options
impl Clone for aws_http1_connection_options
sourcefn clone(&self) -> aws_http1_connection_options
fn clone(&self) -> aws_http1_connection_options
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for aws_http1_connection_options
impl Debug for aws_http1_connection_options
sourceimpl Default for aws_http1_connection_options
impl Default for aws_http1_connection_options
sourcefn default() -> aws_http1_connection_options
fn default() -> aws_http1_connection_options
Returns the “default value” for a type. Read more
sourceimpl PartialEq<aws_http1_connection_options> for aws_http1_connection_options
impl PartialEq<aws_http1_connection_options> for aws_http1_connection_options
sourcefn eq(&self, other: &aws_http1_connection_options) -> bool
fn eq(&self, other: &aws_http1_connection_options) -> bool
impl Copy for aws_http1_connection_options
impl Eq for aws_http1_connection_options
impl StructuralEq for aws_http1_connection_options
impl StructuralPartialEq for aws_http1_connection_options
Auto Trait Implementations
impl RefUnwindSafe for aws_http1_connection_options
impl Send for aws_http1_connection_options
impl Sync for aws_http1_connection_options
impl Unpin for aws_http1_connection_options
impl UnwindSafe for aws_http1_connection_options
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