Expand description
Neutral contracts for domain-defined host ports.
This crate describes a port without realizing one. Provider selection,
evidence grading, operating-system integration, and product policy belong
in platform and domain libraries. A domain implements HostPort on its
own opaque runtime object and installs that object in a lexical child
Env with bind_host_port.
Structs§
- Declared
Limit - A declared, mechanically enforced resource limit.
- Deterministic
Time - Deterministic wall/monotonic/timer model with one shared timeline.
- Host
Port Card - Dependency-light descriptive data published by a host port.
- Monotonic
Timestamp - One process-local monotonic observation in nanoseconds from an injected epoch.
- Platform
Time - Complete explicitly supplied platform-time binding.
- Sanitized
Provenance - Non-secret provenance safe to expose on a host-port card.
- System
Wall Clock - Legacy zero-valued model wall clock retained for source compatibility; performs no host observation.
- Wall
Timestamp - One observed wall-clock instant in Unix milliseconds.
Enums§
- Host
Refusal - Common host-call refusals limited to runtime mechanics.
Traits§
- Host
Port - Marker contract implemented by a domain’s opaque host-port object.
- Monotonic
Clock - Object-safe source of correctness-safe elapsed-time observations.
- Timer
- Executor-neutral platform timer binding.
- Wall
Clock - Object-safe source of optional human wall-time evidence.
Functions§
- bind_
host_ port - Creates a child environment and binds an opaque domain port in its local frame.
- host_
port_ value - Looks up the opaque value bound for a domain host port.
Type Aliases§
- Host
Result - Result returned by neutral host-port operations.
- Provider
Id - An open provider identity, represented as kernel data rather than an enum.
- Service
Id - An open service identity, represented as kernel data rather than an enum.