lsqpack_enc

Struct lsqpack_enc 

Source
#[repr(C)]
pub struct lsqpack_enc {
Show 30 fields pub qpe_ins_count: lsqpack_abs_id_t, pub qpe_max_acked_id: lsqpack_abs_id_t, pub qpe_last_ici: lsqpack_abs_id_t, pub qpe_flags: lsqpack_enc__bindgen_ty_1, pub qpe_cur_bytes_used: c_uint, pub qpe_cur_max_capacity: c_uint, pub qpe_real_max_capacity: c_uint, pub qpe_max_entries: c_uint, pub qpe_dropped: c_uint, pub qpe_max_risked_streams: c_uint, pub qpe_cur_streams_at_risk: c_uint, pub qpe_hinfo_arrs_count: c_uint, pub qpe_nelem: c_uint, pub qpe_nbits: c_uint, pub qpe_all_entries: lsqpack_enc_head, pub qpe_buckets: *mut lsqpack_double_enc_head, pub qpe_hinfo_arrs: lsqpack_enc__bindgen_ty_2, pub qpe_all_hinfos: lsqpack_enc__bindgen_ty_3, pub qpe_risked_hinfos: lsqpack_enc__bindgen_ty_4, pub qpe_cur_header: lsqpack_enc__bindgen_ty_5, pub qpe_dec_stream_state: lsqpack_enc__bindgen_ty_6, pub qpe_bytes_in: c_uint, pub qpe_bytes_out: c_uint, pub qpe_logger_ctx: *mut c_void, pub qpe_table_nelem_ema: f32, pub qpe_header_count_ema: f32, pub qpe_hist_els: *mut lsqpack_hist_el, pub qpe_hist_idx: c_uint, pub qpe_hist_nels: c_uint, pub qpe_hist_wrapped: c_int,
}

Fields§

§qpe_ins_count: lsqpack_abs_id_t§qpe_max_acked_id: lsqpack_abs_id_t§qpe_last_ici: lsqpack_abs_id_t§qpe_flags: lsqpack_enc__bindgen_ty_1§qpe_cur_bytes_used: c_uint§qpe_cur_max_capacity: c_uint§qpe_real_max_capacity: c_uint§qpe_max_entries: c_uint§qpe_dropped: c_uint§qpe_max_risked_streams: c_uint§qpe_cur_streams_at_risk: c_uint§qpe_hinfo_arrs_count: c_uint§qpe_nelem: c_uint§qpe_nbits: c_uint§qpe_all_entries: lsqpack_enc_head§qpe_buckets: *mut lsqpack_double_enc_head§qpe_hinfo_arrs: lsqpack_enc__bindgen_ty_2§qpe_all_hinfos: lsqpack_enc__bindgen_ty_3§qpe_risked_hinfos: lsqpack_enc__bindgen_ty_4§qpe_cur_header: lsqpack_enc__bindgen_ty_5§qpe_dec_stream_state: lsqpack_enc__bindgen_ty_6§qpe_bytes_in: c_uint§qpe_bytes_out: c_uint§qpe_logger_ctx: *mut c_void§qpe_table_nelem_ema: f32§qpe_header_count_ema: f32§qpe_hist_els: *mut lsqpack_hist_el§qpe_hist_idx: c_uint§qpe_hist_nels: c_uint§qpe_hist_wrapped: c_int

Trait Implementations§

Source§

impl Debug for lsqpack_enc

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for lsqpack_enc

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.