pub struct KeepAlivePacket {
pub timestamp: u32,
pub dest_socket_id: u32,
pub libsrt_pad: bool,
}Expand description
Keep-Alive control packet (§3.2.3, Figure 12). 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 KeepAlivePacket
impl Clone for KeepAlivePacket
impl Copy for KeepAlivePacket
Source§impl Debug for KeepAlivePacket
impl Debug for KeepAlivePacket
impl Eq for KeepAlivePacket
Source§impl Hash for KeepAlivePacket
impl Hash for KeepAlivePacket
Source§impl PartialEq for KeepAlivePacket
impl PartialEq for KeepAlivePacket
Source§impl Serialize for KeepAlivePacket
Available on crate feature serde only.
impl Serialize for KeepAlivePacket
Available on crate feature
serde only.impl StructuralPartialEq for KeepAlivePacket
Auto Trait Implementations§
impl Forget for KeepAlivePacket
impl Freeze for KeepAlivePacket
impl RefUnwindSafe for KeepAlivePacket
impl Send for KeepAlivePacket
impl Sync for KeepAlivePacket
impl Unpin for KeepAlivePacket
impl UnsafeUnpin for KeepAlivePacket
impl UnwindSafe for KeepAlivePacket
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