pub struct SessionConfig {
pub max_concurrent_streams: u32,
pub initial_window_size: u32,
pub max_frame_size: u32,
pub max_header_list_size: u32,
pub max_inbound_message_size: usize,
pub per_stream_byte_budget: usize,
pub max_active_streams: usize,
pub compression: CompressionConfig,
pub user_agent: String,
pub content_type: String,
pub scheme: String,
}Expand description
HTTP/2 settings and application-owned stream limits.
Fields§
§max_concurrent_streams: u32§initial_window_size: u32§max_frame_size: u32§max_header_list_size: u32§max_inbound_message_size: usize§per_stream_byte_budget: usize§max_active_streams: usize§compression: CompressionConfig§user_agent: String§content_type: String§scheme: StringTrait Implementations§
Source§impl Clone for SessionConfig
impl Clone for SessionConfig
Source§fn clone(&self) -> SessionConfig
fn clone(&self) -> SessionConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SessionConfig
impl Debug for SessionConfig
Source§impl Default for SessionConfig
impl Default for SessionConfig
Source§fn default() -> SessionConfig
fn default() -> SessionConfig
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SessionConfig
impl RefUnwindSafe for SessionConfig
impl Send for SessionConfig
impl Sync for SessionConfig
impl Unpin for SessionConfig
impl UnsafeUnpin for SessionConfig
impl UnwindSafe for SessionConfig
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