1 use super::prelude::*; 2 3 #[derive(Debug)] 4 pub struct qsThreadInfo; 5 6 impl<'a> ParseCommand<'a> for qsThreadInfo { from_packet(buf: PacketBuf<'a>) -> Option<Self>7 fn from_packet(buf: PacketBuf<'a>) -> Option<Self> { 8 if !buf.into_body().is_empty() { 9 return None; 10 } 11 Some(qsThreadInfo) 12 } 13 } 14