pub struct EventPacket {
pub marker: bool,
pub timestamp: u32,
pub event: TelephoneEvent,
}Expand description
One packet the TelephoneEventSender wants sent: the RTP header fields it decides plus the
payload. The caller fills in the sequence number (the audio stream’s next one), SSRC and the
telephone-event payload type.
Fields§
§marker: boolRTP marker bit.
timestamp: u32RTP timestamp: the start of the event’s current segment.
event: TelephoneEventThe single event report this packet carries.
Implementations§
Trait Implementations§
Source§impl Clone for EventPacket
impl Clone for EventPacket
impl Copy for EventPacket
Source§impl Debug for EventPacket
impl Debug for EventPacket
impl Eq for EventPacket
Source§impl PartialEq for EventPacket
impl PartialEq for EventPacket
impl StructuralPartialEq for EventPacket
Auto Trait Implementations§
impl Forget for EventPacket
impl Freeze for EventPacket
impl Move for EventPacket
impl RefUnwindSafe for EventPacket
impl Send for EventPacket
impl Sync for EventPacket
impl Unpin for EventPacket
impl UnsafeUnpin for EventPacket
impl UnwindSafe for EventPacket
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