pub struct Bye {
pub sources: Vec<u32>,
pub reason: Option<String>,
}Expand description
RTCP Goodbye (RFC 3550 §6.6, PT 203).
Fields§
§sources: Vec<u32>The SSRC/CSRC sources leaving (SC of them).
reason: Option<String>Optional textual reason for leaving.
Trait Implementations§
impl Eq for Bye
Source§impl Serialize for Bye
impl Serialize for Bye
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 Bye
Auto Trait Implementations§
impl Freeze for Bye
impl RefUnwindSafe for Bye
impl Send for Bye
impl Sync for Bye
impl Unpin for Bye
impl UnsafeUnpin for Bye
impl UnwindSafe for Bye
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