Skip to main content

torrust_tracker_deployer_lib/application/traits/
mod.rs

1//! Application-Layer Trait Definitions (DDD Ports)
2//!
3//! This module defines the traits that the application layer depends on.
4//! These traits are defined here (where they're consumed) and implemented
5//! in outer layers (Presentation, Infrastructure), following the Dependency
6//! Inversion Principle.
7//!
8//! The term "traits" avoids confusion with network ports in this infrastructure project.
9//!
10//! ## Components
11//!
12//! - `progress` - Progress reporting trait for command workflows
13
14pub mod progress;
15pub mod repository_provider;
16
17// Re-export main types for convenience
18pub use progress::{CommandProgressListener, NullProgressListener};
19pub use repository_provider::RepositoryProvider;