pub struct CongestionWarningPacket {
pub timestamp: u32,
pub dest_socket_id: u32,
pub libsrt_pad: bool,
}Expand description
Congestion Warning control packet (§3.2.6, Figure 15). Reserved for future use; no CIF.
Fields§
§timestamp: u32Timestamp (§3).
dest_socket_id: u32Destination Socket ID (§3).
libsrt_pad: booltrue when the CIF carries libsrt’s 4-byte zero pad; false for the
empty CIF of draft-sharabayko-srt-01.
Trait Implementations§
Source§impl Clone for CongestionWarningPacket
impl Clone for CongestionWarningPacket
impl Copy for CongestionWarningPacket
Source§impl Debug for CongestionWarningPacket
impl Debug for CongestionWarningPacket
impl Eq for CongestionWarningPacket
Source§impl Hash for CongestionWarningPacket
impl Hash for CongestionWarningPacket
Source§impl PartialEq for CongestionWarningPacket
impl PartialEq for CongestionWarningPacket
Source§impl Serialize for CongestionWarningPacket
Available on crate feature serde only.
impl Serialize for CongestionWarningPacket
Available on crate feature
serde only.impl StructuralPartialEq for CongestionWarningPacket
Auto Trait Implementations§
impl Forget for CongestionWarningPacket
impl Freeze for CongestionWarningPacket
impl Move for CongestionWarningPacket
impl RefUnwindSafe for CongestionWarningPacket
impl Send for CongestionWarningPacket
impl Sync for CongestionWarningPacket
impl Unpin for CongestionWarningPacket
impl UnsafeUnpin for CongestionWarningPacket
impl UnwindSafe for CongestionWarningPacket
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