pub struct PacketClientGCMsgProtobuf { /* private fields */ }Expand description
A protobuf-backed game coordinator packet.
Implementations§
Source§impl PacketClientGCMsgProtobuf
impl PacketClientGCMsgProtobuf
Sourcepub fn new(e_msg: u32, data: Vec<u8>) -> Result<Self, SteamError>
pub fn new(e_msg: u32, data: Vec<u8>) -> Result<Self, SteamError>
Parses the protobuf header of data so the job ids can be read.
Sourcepub fn header(&self) -> &MsgGCHdrProtoBuf
pub fn header(&self) -> &MsgGCHdrProtoBuf
The header of this packet message.
Trait Implementations§
Source§impl IPacketGCMsg for PacketClientGCMsgProtobuf
impl IPacketGCMsg for PacketClientGCMsgProtobuf
Source§fn target_job_id(&self) -> JobID
fn target_job_id(&self) -> JobID
The target job id of this packet message.
Source§fn source_job_id(&self) -> JobID
fn source_job_id(&self) -> JobID
The source job id of this packet message.
Auto Trait Implementations§
impl Freeze for PacketClientGCMsgProtobuf
impl RefUnwindSafe for PacketClientGCMsgProtobuf
impl Send for PacketClientGCMsgProtobuf
impl Sync for PacketClientGCMsgProtobuf
impl Unpin for PacketClientGCMsgProtobuf
impl UnsafeUnpin for PacketClientGCMsgProtobuf
impl UnwindSafe for PacketClientGCMsgProtobuf
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