Enum usdpl_back::core::socket::Packet
source · pub enum Packet {
Call(RemoteCall),
CallResponse(RemoteCallResponse),
KeepAlive,
Invalid,
Message(String),
Unsupported,
Bad,
Many(Vec<Packet, Global>),
}Expand description
Accepted Packet types and the data they contain
Variants§
Call(RemoteCall)
A remote call
CallResponse(RemoteCallResponse)
A reponse to a remote call
KeepAlive
Unused
Invalid
Invalid
Message(String)
General message
Unsupported
Response to an unsupported packet
Bad
Broken packet type, useful for testing
Many(Vec<Packet, Global>)
Many packets merged into one