[−][src]Struct hpack_codec::table::DynamicTable
Dynamic Indexing Table.
See: 2.3.2. Dynamic Table
Methods
impl DynamicTable
[src]
pub fn entries(&self) -> &VecDeque<HeaderField<'static>>
[src]
Returns the reference to the dynamically indexed entries
pub fn size(&self) -> u16
[src]
Returns the size of this table.
pub fn size_hard_limit(&self) -> u16
[src]
Returns the hard limit of the size of this table.
pub fn size_soft_limit(&self) -> u16
[src]
Returns the soft limit of the size of this table.
pub fn set_size_hard_limit(&mut self, max_size: u16)
[src]
Sets the hard limit of the size of this table.
Note that the soft limit will be truncated to max_size
if it is greater than max_size
.
pub fn set_size_soft_limit(&mut self, max_size: u16) -> Result<()>
[src]
Sets the soft limit of the size of this table.
Errors
If max_size
exceeds the hard limit of this table, an error will be returned.
Trait Implementations
Auto Trait Implementations
impl Send for DynamicTable
impl Sync for DynamicTable
impl Unpin for DynamicTable
impl UnwindSafe for DynamicTable
impl RefUnwindSafe for DynamicTable
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,