Expand description
cftp is a small, fast and highly customizable FTP server library.
Modules§
- client
- code
- command
- io
- pki_
types - This crate provides types for representing X.509 certificates, keys and other types as commonly used in the rustls ecosystem. It is intended to be used by crates that need to work with such X.509 types, such as rustls, rustls-webpki, rustls-pemfile, and others.
- rustls
- Rustls - a modern TLS library
- server
Macros§
Structs§
- Accept
- Future returned from
TlsAcceptor::acceptwhich will resolve once the accept handshake has finished. - Connect
- Future returned from
TlsConnector::connectwhich will resolve once the connection handshake has finished. - Encryption
Builder - Encryption
Info - Fallible
Accept - Like Accept, but returns
IOon failure. - Fallible
Connect - Like Connect, but returns
IOon failure. - File
Listing - Ftp
- FtpBuilder
- Lazy
Config Acceptor - Passive
Conn - Start
Handshake - TlsAcceptor
- A wrapper around a
rustls::ServerConfig, providing an asyncacceptmethod. - TlsConnector
- A wrapper around a
rustls::ClientConfig, providing an asyncconnectmethod.
Enums§
- Handle
Error - Read
Error - Security
- TlsStream
- Unified TLS stream type
- TlsUpgrade
Error