pub enum StemPacket {
Message(String, String),
Sub(String),
UnSub(String),
Ping(Vec<u8>),
Pong(Vec<u8>),
Unknown,
}
Variants§
Trait Implementations§
Source§impl Debug for StemPacket
impl Debug for StemPacket
Auto Trait Implementations§
impl Freeze for StemPacket
impl RefUnwindSafe for StemPacket
impl Send for StemPacket
impl Sync for StemPacket
impl Unpin for StemPacket
impl UnwindSafe for StemPacket
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