pub struct Decoder {
pub max_list_size: usize,
/* private fields */
}Fields§
§max_list_size: usizeImplementations§
Source§impl Decoder
impl Decoder
pub fn new(table_size: usize, max_list_size: usize) -> Self
Sourcepub fn set_allowed(&mut self, size: usize)
pub fn set_allowed(&mut self, size: usize)
The largest dynamic table size the peer’s encoder may signal: the HEADER_TABLE_SIZE this endpoint has advertised.
pub fn decode(&mut self, input: &[u8], out: &mut Vec<Header>) -> Result<()>
Auto Trait Implementations§
impl Forget for Decoder
impl Freeze for Decoder
impl RefUnwindSafe for Decoder
impl Send for Decoder
impl Sync for Decoder
impl Unpin for Decoder
impl UnsafeUnpin for Decoder
impl UnwindSafe for Decoder
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