pub enum Packet<'a> {
QueryServers(QueryServers<Filter<'a>>),
GetServerInfo(GetServerInfo),
}Expand description
Game client packets.
Variants§
QueryServers(QueryServers<Filter<'a>>)
Request a list of server addresses from master servers.
GetServerInfo(GetServerInfo)
Request an information from a game server.
Implementations§
Trait Implementations§
impl<'a> StructuralPartialEq for Packet<'a>
Auto Trait Implementations§
impl<'a> Freeze for Packet<'a>
impl<'a> RefUnwindSafe for Packet<'a>
impl<'a> Send for Packet<'a>
impl<'a> Sync for Packet<'a>
impl<'a> Unpin for Packet<'a>
impl<'a> UnwindSafe for Packet<'a>
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