pub struct App {
pub subtype: u8,
pub ssrc: u32,
pub name: [u8; 4],
pub data: Vec<u8>,
}Expand description
RTCP Application-defined packet (RFC 3550 §6.7, PT 204).
Fields§
§subtype: u8Application subtype (carried in the header’s RC field, 5 bits).
ssrc: u32SSRC/CSRC of the source.
name: [u8; 4]The 4-byte ASCII application name.
data: Vec<u8>Application-dependent data (must be a multiple of 4 bytes on the wire).
Trait Implementations§
impl Eq for App
Source§impl Serialize for App
impl Serialize for App
Source§type Error = Error
type Error = Error
The error type this implementer returns (usually the same as the
corresponding
Parse impl, but need not be).Source§fn serialized_len(&self) -> usize
fn serialized_len(&self) -> usize
Number of bytes
serialize_into will write.impl StructuralPartialEq for App
Auto Trait Implementations§
impl Freeze for App
impl RefUnwindSafe for App
impl Send for App
impl Sync for App
impl Unpin for App
impl UnsafeUnpin for App
impl UnwindSafe for App
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