#[repr(C)]pub struct lsxpack_header {Show 15 fields
pub buf: *mut c_char,
pub name_hash: u32,
pub nameval_hash: u32,
pub name_offset: lsxpack_offset_t,
pub val_offset: lsxpack_offset_t,
pub name_len: lsxpack_strlen_t,
pub val_len: lsxpack_strlen_t,
pub chain_next_idx: u16,
pub hpack_index: u8,
pub qpack_index: u8,
pub app_index: u8,
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1]>,
pub indexed_type: u8,
pub dec_overhead: u8,
}Fields§
§buf: *mut c_char§name_hash: u32§nameval_hash: u32§name_offset: lsxpack_offset_t§val_offset: lsxpack_offset_t§name_len: lsxpack_strlen_t§val_len: lsxpack_strlen_t§chain_next_idx: u16§hpack_index: u8§qpack_index: u8§app_index: u8§_bitfield_align_1: [u8; 0]§_bitfield_1: __BindgenBitfieldUnit<[u8; 1]>§indexed_type: u8§dec_overhead: u8Implementations§
Source§impl lsxpack_header
impl lsxpack_header
pub fn flags(&self) -> lsxpack_flag
pub fn set_flags(&mut self, val: lsxpack_flag)
pub fn new_bitfield_1(flags: lsxpack_flag) -> __BindgenBitfieldUnit<[u8; 1]>
Trait Implementations§
Source§impl Debug for lsxpack_header
impl Debug for lsxpack_header
Auto Trait Implementations§
impl Freeze for lsxpack_header
impl RefUnwindSafe for lsxpack_header
impl !Send for lsxpack_header
impl !Sync for lsxpack_header
impl Unpin for lsxpack_header
impl UnwindSafe for lsxpack_header
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