This version of the module is deprecated: Renamed to gaato/mttp 0.3, the module an app adds; the I/O-free core is gaato/mttp_core. See https://github.com/gaato/mttp

    gaato/mttp_async/trust does not have a README file

    Trust

    pub(all) enum Trust {
    System
    Insecure
    PemFile(String)
    } derive(Eq,
    Debug
    )

    TLS peer verification for socket backends. JavaScript fetch uses the host's trust store and ignores this setting. PemFile replaces system roots; supply a combined PEM bundle to trust private and system roots.

    Trust::equal

    fn Trust::equal(Trust, Trust) -> Bool

    Compares certificate trust policies.

    Trust::not_equal

    fn Trust::not_equal(x : Trust, y : Trust) -> Bool

    Compares certificate trust policies.

    Trust::to_repr

    Formats a certificate trust policy for diagnostics.

    Source Files