Struct rtmp::chunk::ChunkMessageHeader
source · pub struct ChunkMessageHeader {
pub timestamp: u32,
pub msg_length: u32,
pub msg_type_id: u8,
pub msg_streamd_id: u32,
pub timestamp_delta: u32,
pub extended_timestamp_type: ExtendTimestampType,
}
Fields§
§timestamp: u32
§msg_length: u32
§msg_type_id: u8
§msg_streamd_id: u32
§timestamp_delta: u32
§extended_timestamp_type: ExtendTimestampType
Implementations§
Trait Implementations§
source§impl Clone for ChunkMessageHeader
impl Clone for ChunkMessageHeader
source§fn clone(&self) -> ChunkMessageHeader
fn clone(&self) -> ChunkMessageHeader
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ChunkMessageHeader
impl Debug for ChunkMessageHeader
source§impl PartialEq for ChunkMessageHeader
impl PartialEq for ChunkMessageHeader
source§fn eq(&self, other: &ChunkMessageHeader) -> bool
fn eq(&self, other: &ChunkMessageHeader) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ChunkMessageHeader
impl StructuralPartialEq for ChunkMessageHeader
Auto Trait Implementations§
impl Freeze for ChunkMessageHeader
impl RefUnwindSafe for ChunkMessageHeader
impl Send for ChunkMessageHeader
impl Sync for ChunkMessageHeader
impl Unpin for ChunkMessageHeader
impl UnwindSafe for ChunkMessageHeader
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
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.