Skip to main content

Module discovery

Module discovery 

Source
Expand description

Host supplied, bounded discovery for sensing endpoints.

Discovery returns opaque endpoint references and relationship-scoped context labels. It does not establish identity, guardianship, consent, permission, calibration, connectivity, or sensor capability. A caller must separately authorize use of any discovered endpoint.

Structs§

DiscoveredEndpoint
Opaque host locator/reference plus the optional scope the host says it serves. The value is intentionally not a network address and is meaningful only to the provider that returned it.
DiscoveryClock
Monotonic time in one explicit provider clock domain and restart epoch.
DiscoveryId
A nonzero opaque identifier in a provider-defined namespace.
DiscoveryLease
Provider-declared endpoint lease. Expiry and observation use the same monotonic clock and restart epoch; they are not UTC timestamps.
DiscoveryQuery
Optional social or physical query filters. Relationship and context identifiers are opaque labels supplied by the host; their presence is not proof of a relationship or authorization. All filters may be absent for environmental, nonhuman, or not-yet-classified observations.

Enums§

DiscoveryError
Errors from bounded, caller-buffered resolution.

Constants§

MAX_DISCOVERY_RESULTS
Maximum discovery candidates accepted and returned in one call.

Traits§

DiscoveryProvider
Host-supplied resolver. Implementations may bridge QDNF, SPARQL-MM, social directories, or another service; this contract itself performs no network I/O and assigns no trust to provider output.

Functions§

discover_into
Resolve a scoped query into caller-owned output.