Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#[derive(PartialEq, Eq)]
pub(crate) enum AuthProtocol {
    None,
    Sasl,
}

impl AuthProtocol {
    pub fn call_id(&self) -> i8 {
        match self {
            Self::None => 0,
            Self::Sasl => -33,
        }
    }
}