pub enum MobilePacket {
Message(MobileMessage),
Heartbeat(MobileHeartbeat),
}Expand description
Decoded packet type from mobile protocol
Variants§
Trait Implementations§
Source§impl Clone for MobilePacket
impl Clone for MobilePacket
Source§fn clone(&self) -> MobilePacket
fn clone(&self) -> MobilePacket
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MobilePacket
impl Debug for MobilePacket
Auto Trait Implementations§
impl !Freeze for MobilePacket
impl RefUnwindSafe for MobilePacket
impl Send for MobilePacket
impl Sync for MobilePacket
impl Unpin for MobilePacket
impl UnwindSafe for MobilePacket
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