pub struct LossRleBuilder { /* private fields */ }
Expand description
Builder for a LossRle
Implementations§
Trait Implementations§
Source§impl Debug for LossRleBuilder
impl Debug for LossRleBuilder
Source§impl Default for LossRleBuilder
impl Default for LossRleBuilder
Source§fn default() -> LossRleBuilder
fn default() -> LossRleBuilder
Returns the “default value” for a type. Read more
Source§impl RtcpPacketWriter for LossRleBuilder
impl RtcpPacketWriter for LossRleBuilder
Source§fn calculate_size(&self) -> Result<usize, RtcpWriteError>
fn calculate_size(&self) -> Result<usize, RtcpWriteError>
Calculates the size required to write this RTCP packet. Read more
Source§fn write_into_unchecked(&self, buf: &mut [u8]) -> usize
fn write_into_unchecked(&self, buf: &mut [u8]) -> usize
Writes this RTCP packet into
buf
without any validity checks. Read moreSource§fn get_padding(&self) -> Option<u8>
fn get_padding(&self) -> Option<u8>
Gets the padding that was configured for this RTCP packet.
Source§impl XrBlockBuilder<'_> for LossRleBuilder
impl XrBlockBuilder<'_> for LossRleBuilder
Source§fn type_specific_byte(&self) -> u8
fn type_specific_byte(&self) -> u8
The type specific byte to place in the XR block header
Auto Trait Implementations§
impl Freeze for LossRleBuilder
impl RefUnwindSafe for LossRleBuilder
impl Send for LossRleBuilder
impl Sync for LossRleBuilder
impl Unpin for LossRleBuilder
impl UnwindSafe for LossRleBuilder
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<T> RtcpPacketWriterExt for Twhere
T: RtcpPacketWriter,
impl<T> RtcpPacketWriterExt for Twhere
T: RtcpPacketWriter,
Source§fn write_into(&self, buf: &mut [u8]) -> Result<usize, RtcpWriteError>
fn write_into(&self, buf: &mut [u8]) -> Result<usize, RtcpWriteError>
Writes the Custom packet into
buf
. Read more