[][src]Module libunftp::storage

Contains the StorageBackend trait and its various implementations that is used by the Server

Modules

filesystem

StorageBackend that uses a local filesystem, like a traditional FTP server.

Structs

Error

The Failure that describes what went wrong in the storage backend

Fileinfo

Fileinfo contains the path and Metadata of a file.

Enums

ErrorKind

The ErrorKind variants that can be produced by the StorageBackend implementations.

Constants

FEATURE_RESTART

Tells if STOR/RETR restarts are supported by the storage back-end i.e. starting from a different byte offset.

Traits

Metadata

Represents the metadata of a FTP File

StorageBackend

The StorageBackend trait defines a common interface to different storage backends for our FTP Server, e.g. for a Filesystem or Google Cloud Storage.

Type Definitions

Result

Result type used by traits in this module