libunftp 0.23.0

Extensible, async, cloud orientated FTP(S) server library.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//!
//! Allows users to listen to events emitted by libunftp.
//!
//! To listen for changes in data implement the [`DataListener`]
//! trait and use the [`ServerBuilder::notify_data`](crate::ServerBuilder::notify_data) method
//! to make libunftp notify it.
//!
//! To listen to logins and logouts implement the [`PresenceListener`]
//! trait and use the [`ServerBuilder::notify_presence`](crate::ServerBuilder::notify_data) method
//! to make libunftp use it.
//!

pub(crate) mod event;
pub(crate) mod nop;

pub use event::{DataEvent, DataListener, EventMeta, PresenceEvent, PresenceListener};