pub struct Settings { /* private fields */ }
Implementations§
Source§impl Settings
impl Settings
pub fn ack() -> Settings
pub fn is_ack(&self) -> bool
pub fn initial_window_size(&self) -> Option<u32>
pub fn set_initial_window_size(&mut self, size: Option<u32>)
pub fn max_concurrent_streams(&self) -> Option<u32>
pub fn set_max_concurrent_streams(&mut self, max: Option<u32>)
pub fn max_frame_size(&self) -> Option<u32>
pub fn set_max_frame_size(&mut self, size: u32)
pub fn max_header_list_size(&self) -> Option<u32>
pub fn set_max_header_list_size(&mut self, size: Option<u32>)
pub fn is_push_enabled(&self) -> Option<bool>
pub fn set_enable_push(&mut self, enable: bool)
pub fn is_extended_connect_protocol_enabled(&self) -> Option<bool>
pub fn set_enable_connect_protocol(&mut self, val: Option<u32>)
pub fn header_table_size(&self) -> Option<u32>
pub fn load(head: Head, payload: &[u8]) -> Result<Settings, FrameError>
pub fn encode(&self, dst: &mut BytesMut)
Trait Implementations§
impl Copy for Settings
impl Eq for Settings
impl StructuralPartialEq for Settings
Auto Trait Implementations§
impl Freeze for Settings
impl RefUnwindSafe for Settings
impl Send for Settings
impl Sync for Settings
impl Unpin for Settings
impl UnwindSafe for Settings
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