pub struct GCMsgBase<THeader> {
pub header: THeader,
pub payload: MsgBase,
}Expand description
Header plus payload buffer, shared by all game coordinator messages.
Fields§
§header: THeaderThe header of this message.
payload: MsgBaseThe payload buffer of this message.
Implementations§
Auto Trait Implementations§
impl<THeader> Freeze for GCMsgBase<THeader>where
THeader: Freeze,
impl<THeader> RefUnwindSafe for GCMsgBase<THeader>where
THeader: RefUnwindSafe,
impl<THeader> Send for GCMsgBase<THeader>where
THeader: Send,
impl<THeader> Sync for GCMsgBase<THeader>where
THeader: Sync,
impl<THeader> Unpin for GCMsgBase<THeader>where
THeader: Unpin,
impl<THeader> UnsafeUnpin for GCMsgBase<THeader>where
THeader: UnsafeUnpin,
impl<THeader> UnwindSafe for GCMsgBase<THeader>where
THeader: UnwindSafe,
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