aboutsummaryrefslogtreecommitdiff
path: root/src/protocol/commands/_bc.rs
blob: 5e658b405a44291406d66659700a48d0cfb8bf49 (plain)
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)
    }
}