mysql_cdc 0.2.1

MySQL/MariaDB binlog change data capture (CDC) connector for Rust
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/// Represents the SSL strategy used to connect to the server.
#[derive(Clone, Copy, PartialEq, Debug)]
pub enum SslMode {
    /// Establishes an unencrypted connection.
    Disabled = 0,

    /// Tries to establish an encrypted connection without verifying CA/Host. Falls back to an unencrypted connection.
    IfAvailable = 1,

    /// Require an encrypted connection without verifying CA/Host.
    Require = 2,

    /// Verify that the certificate belongs to the Certificate Authority.
    RequireVerifyCa = 3,

    /// Verify that the certificate belongs to the Certificate Authority and matches Host.
    RequireVerifyFull = 4,
}