pub struct PeerErrorPacket {
pub error_code: u32,
pub timestamp: u32,
pub dest_socket_id: u32,
pub libsrt_pad: bool,
}Expand description
Peer Error control packet (§3.2.10, Figure 19). No CIF.
Fields§
§error_code: u32Peer error code (see PEER_ERROR_FILE_SYSTEM).
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 PeerErrorPacket
impl Clone for PeerErrorPacket
impl Copy for PeerErrorPacket
Source§impl Debug for PeerErrorPacket
impl Debug for PeerErrorPacket
impl Eq for PeerErrorPacket
Source§impl Hash for PeerErrorPacket
impl Hash for PeerErrorPacket
Source§impl PartialEq for PeerErrorPacket
impl PartialEq for PeerErrorPacket
Source§impl Serialize for PeerErrorPacket
Available on crate feature serde only.
impl Serialize for PeerErrorPacket
Available on crate feature
serde only.impl StructuralPartialEq for PeerErrorPacket
Auto Trait Implementations§
impl Forget for PeerErrorPacket
impl Freeze for PeerErrorPacket
impl Move for PeerErrorPacket
impl RefUnwindSafe for PeerErrorPacket
impl Send for PeerErrorPacket
impl Sync for PeerErrorPacket
impl Unpin for PeerErrorPacket
impl UnsafeUnpin for PeerErrorPacket
impl UnwindSafe for PeerErrorPacket
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