pub struct Goodbye {
pub sources: Vec<u32>,
pub reason: Bytes,
}
Expand description
The Goodbye packet indicates that one or more sources are no longer active.
Fields§
§sources: Vec<u32>
The SSRC/CSRC identifiers that are no longer active
reason: Bytes
Optional text indicating the reason for leaving, e.g., “camera malfunction” or “RTP loop detected”
Trait Implementations§
source§impl MarshalSize for Goodbye
impl MarshalSize for Goodbye
fn marshal_size(&self) -> usize
source§impl Packet for Goodbye
impl Packet for Goodbye
source§fn destination_ssrc(&self) -> Vec<u32>
fn destination_ssrc(&self) -> Vec<u32>
destination_ssrc returns an array of SSRC values that this packet refers to.
fn raw_size(&self) -> usize
fn as_any(&self) -> &(dyn Any + Send + Sync)
fn equal(&self, other: &(dyn Packet + Send + Sync)) -> bool
fn cloned(&self) -> Box<dyn Packet + Send + Sync>
source§impl PartialEq for Goodbye
impl PartialEq for Goodbye
impl Eq for Goodbye
impl StructuralPartialEq for Goodbye
Auto Trait Implementations§
impl RefUnwindSafe for Goodbye
impl Send for Goodbye
impl Sync for Goodbye
impl Unpin for Goodbye
impl UnwindSafe for Goodbye
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