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§impl Debug for SessionConfig
impl Debug for SessionConfig
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