Skip to main content

Module traits

Module traits 

Source
Expand description

Application-Layer Trait Definitions (DDD Ports)

This module defines the traits that the application layer depends on. These traits are defined here (where they’re consumed) and implemented in outer layers (Presentation, Infrastructure), following the Dependency Inversion Principle.

The term “traits” avoids confusion with network ports in this infrastructure project.

§Components

  • progress - Progress reporting trait for command workflows

Re-exports§

pub use progress::CommandProgressListener;
pub use progress::NullProgressListener;
pub use repository_provider::RepositoryProvider;

Modules§

progress
Progress reporting interface for command workflows
repository_provider
RepositoryProvider trait — application-layer abstraction for repository creation