Crate rustls_ffi

Source
Expand description

This package contains bindings for using rustls via a C API. If you’re looking at this on docs.rs, you may want the rustls docs instead.

Even though this is a C API, it is published on crates.io so other crates that wrap a different C API (like curl) can depend on it.

You may also want to read the rustls-ffi README.

Re-exports§

pub use version::rustls_version;

Modules§

acceptor
certificate
cipher
client
connection
crypto_provider
enums
io
keylog
Provides FFI abstractions for the rustls::KeyLog trait.
log
rslice
server
session
verifier
version

Structs§

rustls_io_result
A return value for a function that may return either success (0) or a non-zero value representing an error.

Enums§

rustls_result
Numeric error codes returned from rustls-ffi API functions.