bitflag enum io.SslStateFlags

bitflag enum SslStateFlags {
    Connect        = 0x1000,
    Accept         = 0x2000,
    Loop           = 0x01,
    Exit           = 0x02,
    Read           = 0x04,
    Write          = 0x08,
    Alert          = 0x4000,
    ReadAlert      = Alert | Read,
    WriteAlert     = Alert | Write,
    AcceptLoop     = Accept | Loop,
    AcceptExit     = Accept | Exit,
    ConnectLoop    = Connect | Loop,
    ConnectExit    = Connect | Exit,
    HandshakeStart = 0x10,
    HandshakeDone  = 0x20,
};