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: BytesOptional text indicating the reason for leaving, e.g., “camera malfunction” or “RTP loop detected”
Trait Implementations§
impl Eq for Goodbye
Source§impl MarshalSize for Goodbye
impl MarshalSize for Goodbye
Source§fn marshal_size(&self) -> usize
fn marshal_size(&self) -> usize
The number of bytes
Marshal::marshal_to will write for this value.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.
Source§fn as_any(&self) -> &dyn Any
fn as_any(&self) -> &dyn Any
Downcasting hook, so a caller holding
Box<dyn Packet> can recover the concrete type.impl StructuralPartialEq for Goodbye
Auto Trait Implementations§
impl !Freeze for Goodbye
impl RefUnwindSafe for Goodbye
impl Send for Goodbye
impl Sync for Goodbye
impl Unpin for Goodbye
impl UnsafeUnpin 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