struct FrameDecoder {
hpack: Decoder,
max_header_list_size: usize,
max_continuation_frames: usize,
partial: Option<Partial>,
}Fields§
§hpack: Decoder§max_header_list_size: usize§max_continuation_frames: usize§partial: Option<Partial>Implementations§
Source§impl FrameDecoder
impl FrameDecoder
fn new(max_frame_size: usize) -> Self
fn set_max_frame_size(&mut self, val: usize)
fn set_max_header_list_size(&mut self, val: usize, max_frame_size: usize)
fn set_header_table_size(&mut self, val: usize)
fn decode(&mut self, bytes: BytesMut) -> Result<Option<Frame>, Error>
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for FrameDecoder
impl RefUnwindSafe for FrameDecoder
impl Send for FrameDecoder
impl Sync for FrameDecoder
impl Unpin for FrameDecoder
impl UnsafeUnpin for FrameDecoder
impl UnwindSafe for FrameDecoder
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