Crate cftp

Crate cftp 

Source
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§

impl_command
unit_commands

Structs§

Accept
Future returned from TlsAcceptor::accept which will resolve once the accept handshake has finished.
Connect
Future returned from TlsConnector::connect which will resolve once the connection handshake has finished.
EncryptionBuilder
EncryptionInfo
FallibleAccept
Like Accept, but returns IO on failure.
FallibleConnect
Like Connect, but returns IO on failure.
FileListing
Ftp
FtpBuilder
LazyConfigAcceptor
PassiveConn
StartHandshake
TlsAcceptor
A wrapper around a rustls::ServerConfig, providing an async accept method.
TlsConnector
A wrapper around a rustls::ClientConfig, providing an async connect method.

Enums§

HandleError
ReadError
Security
TlsStream
Unified TLS stream type
TlsUpgradeError

Traits§

FtpHandler
IoFactory