pub struct ChunkHeader {
pub keyframe: bool,
pub fec_type: FecType,
pub channel_id: u8,
pub frame_id: u16,
pub chunk_idx: u16,
pub n: u16,
pub k: u8,
pub flags2: u8,
pub last_len: u16,
pub chunk_len: u16,
pub send_ts: u32,
pub block_idx: u16,
}Fields§
§keyframe: bool§fec_type: FecType§channel_id: u8§frame_id: u16§chunk_idx: u16§n: u16§k: u8§flags2: u8§last_len: u16§chunk_len: u16§send_ts: u32§block_idx: u16Implementations§
Source§impl ChunkHeader
impl ChunkHeader
Trait Implementations§
Source§impl Clone for ChunkHeader
impl Clone for ChunkHeader
Source§fn clone(&self) -> ChunkHeader
fn clone(&self) -> ChunkHeader
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ChunkHeader
Source§impl Debug for ChunkHeader
impl Debug for ChunkHeader
impl Eq for ChunkHeader
Source§impl PartialEq for ChunkHeader
impl PartialEq for ChunkHeader
Source§fn eq(&self, other: &ChunkHeader) -> bool
fn eq(&self, other: &ChunkHeader) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ChunkHeader
Auto Trait Implementations§
impl Freeze for ChunkHeader
impl RefUnwindSafe for ChunkHeader
impl Send for ChunkHeader
impl Sync for ChunkHeader
impl Unpin for ChunkHeader
impl UnsafeUnpin for ChunkHeader
impl UnwindSafe for ChunkHeader
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