Enum uosql::types::PkgType [] [src]

pub enum PkgType {
    Greet,
    Login,
    Command,
    Error,
    Ok,
    Response,
    AccDenied,
    AccGranted,
}

Code numeric value sent as first byte

Variants

Greet
Login
Command
Error
Ok
Response
AccDenied
AccGranted

Trait Implementations

Derived Implementations

impl Decodable for PkgType

fn decode<__D>(__arg_0: &mut __D) -> Result<PkgType, __D::Error> where __D: Decoder

impl Encodable for PkgType

fn encode<__S>(&self, __arg_0: &mut __S) -> Result<(), __S::Error> where __S: Encoder

impl PartialEq<PkgType> for PkgType

fn eq(&self, __arg_0: &PkgType) -> bool

fn ne(&self, __arg_0: &PkgType) -> bool