lsqpack_dec

Struct lsqpack_dec 

Source
#[repr(C)]
pub struct lsqpack_dec {
Show 19 fields pub qpd_opts: lsqpack_dec_opts, pub qpd_max_capacity: c_uint, pub qpd_cur_max_capacity: c_uint, pub qpd_cur_capacity: c_uint, pub qpd_max_risked_streams: c_uint, pub qpd_max_entries: c_uint, pub qpd_bytes_in: c_uint, pub qpd_bytes_out: c_uint, pub qpd_last_id: lsqpack_abs_id_t, pub qpd_largest_known_id: lsqpack_abs_id_t, pub qpd_dh_if: *const lsqpack_dec_hset_if, pub qpd_logger_ctx: *mut c_void, pub qpd_dyn_table: lsqpack_ringbuf, pub qpd_hbrcs: lsqpack_dec__bindgen_ty_1, pub qpd_blocked_headers: [lsqpack_dec__bindgen_ty_2; 8], pub qpd_n_blocked: c_uint, pub qpd_hlist_size_ema: f32, pub qpd_enc_state: lsqpack_dec__bindgen_ty_3, pub qpd_err: lsqpack_dec_err,
}

Fields§

§qpd_opts: lsqpack_dec_opts§qpd_max_capacity: c_uint§qpd_cur_max_capacity: c_uint§qpd_cur_capacity: c_uint§qpd_max_risked_streams: c_uint§qpd_max_entries: c_uint§qpd_bytes_in: c_uint§qpd_bytes_out: c_uint§qpd_last_id: lsqpack_abs_id_t§qpd_largest_known_id: lsqpack_abs_id_t§qpd_dh_if: *const lsqpack_dec_hset_if§qpd_logger_ctx: *mut c_void§qpd_dyn_table: lsqpack_ringbuf§qpd_hbrcs: lsqpack_dec__bindgen_ty_1§qpd_blocked_headers: [lsqpack_dec__bindgen_ty_2; 8]§qpd_n_blocked: c_uint§qpd_hlist_size_ema: f32§qpd_enc_state: lsqpack_dec__bindgen_ty_3§qpd_err: lsqpack_dec_err

Trait Implementations§

Source§

impl Default for lsqpack_dec

Source§

fn default() -> Self

Returns the “default value” for a type. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.