bun_sql 0.1.0

A Rust-native programmable browser runtime built on Servo and SpiderMonkey
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#[derive(Copy, Clone, Eq, PartialEq, Debug)]
pub enum TLSStatus {
    None,
    Pending,

    /// Number of bytes sent of the 8-byte SSL request message.
    /// Since we may send a partial message, we need to know how many bytes were sent.
    MessageSent(u8),

    SslNotAvailable,
    SslOk,
}

// ported from: src/sql/postgres/TLSStatus.zig