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