Enum usdpl_core::socket::Packet
source · [−]pub enum Packet {
Call(RemoteCall),
CallResponse(RemoteCallResponse),
KeepAlive,
Invalid,
Message(String),
Unsupported,
Bad,
Many(Vec<Packet>),
}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>)
Many packets merged into one
Trait Implementations
sourceimpl Dumpable for Packet
impl Dumpable for Packet
Auto Trait Implementations
impl RefUnwindSafe for Packet
impl Send for Packet
impl Sync for Packet
impl Unpin for Packet
impl UnwindSafe for Packet
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more