Expand description
Service-layer ports used by command execution. Small service-layer ports and helpers.
This module exists to define the narrow interfaces the embeddable service layer needs from the outside world.
Contract:
- ports should stay small and easy to mock
- transport- or host-specific concerns belong in adapters, not in these traits
- convenience mocks and fixtures belong under the owning port namespace, not as top-level crate modules
Modules§
- mock
- Test and example doubles for the port traits. Test and example doubles for the service-layer ports.
Traits§
- Ldap
Directory - Minimal LDAP lookup port used by the service layer.
Functions§
- apply_
filter_ and_ projection - Applies the lightweight LDAP filter/projection semantics used by the demo service layer.
- parse_
attributes - Parses the lightweight comma-separated attribute override syntax.