pub struct Bye<'a> { /* private fields */ }
Expand description
A Parsed Bye packet.
Implementations§
Source§impl<'a> Bye<'a>
impl<'a> Bye<'a>
Sourcepub fn ssrcs(&self) -> impl Iterator<Item = u32> + '_
pub fn ssrcs(&self) -> impl Iterator<Item = u32> + '_
The list of ssrcs that this Bye
packet refers to
Sourcepub fn reason(&self) -> Option<&[u8]>
pub fn reason(&self) -> Option<&[u8]>
The (optional) reason for the Bye
as raw data. The reason should be an ASCII string.
Sourcepub fn get_reason_string(&self) -> Option<Result<String, FromUtf8Error>>
pub fn get_reason_string(&self) -> Option<Result<String, FromUtf8Error>>
The (optional) reason for the Bye
as a string
Sourcepub fn builder() -> ByeBuilder<'a>
pub fn builder() -> ByeBuilder<'a>
Create a new ByeBuilder
Trait Implementations§
Source§impl<'a> RtcpPacket for Bye<'a>
impl<'a> RtcpPacket for Bye<'a>
Source§impl<'a> RtcpPacketParser<'a> for Bye<'a>
impl<'a> RtcpPacketParser<'a> for Bye<'a>
impl<'a> Eq for Bye<'a>
impl<'a> StructuralPartialEq for Bye<'a>
Auto Trait Implementations§
impl<'a> Freeze for Bye<'a>
impl<'a> RefUnwindSafe for Bye<'a>
impl<'a> Send for Bye<'a>
impl<'a> Sync for Bye<'a>
impl<'a> Unpin for Bye<'a>
impl<'a> UnwindSafe for Bye<'a>
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