pub struct UdpHeader {
pub magic: u32,
pub payload_size: u16,
pub packet_type: EUdpPacketType,
pub flags: u8,
pub source_conn_id: u32,
pub dest_conn_id: u32,
pub seq_this: u32,
pub seq_ack: u32,
pub packets_in_msg: u32,
pub msg_start_seq: u32,
pub msg_size: u32,
}Expand description
The UdpHeader structure.
Source: lang/steammsg.steamd.
Fields§
§magic: u32§payload_size: u16§packet_type: EUdpPacketType§flags: u8§source_conn_id: u32§dest_conn_id: u32§seq_this: u32§seq_ack: u32§packets_in_msg: u32§msg_start_seq: u32§msg_size: u32Implementations§
Trait Implementations§
impl Copy for UdpHeader
impl Eq for UdpHeader
Source§impl SteamSerializable for UdpHeader
impl SteamSerializable for UdpHeader
impl StructuralPartialEq for UdpHeader
Auto Trait Implementations§
impl Freeze for UdpHeader
impl RefUnwindSafe for UdpHeader
impl Send for UdpHeader
impl Sync for UdpHeader
impl Unpin for UdpHeader
impl UnsafeUnpin for UdpHeader
impl UnwindSafe for UdpHeader
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.