Expand description
Shared types of the stable inference address (card mesh-placement-19).
Structs§
- Chain
Audit - Audit into the ExoChain.
- Proxy
Limits - Hard limits. Every one bounds something a client or a peer controls.
- Proxy
Request - A request that passed validation: nothing here can name a host.
Enums§
- Method
- Methods the proxy forwards. Anything else is refused.
- Proxy
Error - Why a request was not served.
- Target
- Where a role is served right now.
Traits§
- Mesh
Dialer - The mesh side of the proxy. The implementation is the only authority on
who is admitted:
dialmust return a stream only to a peer that passed admission and whose id was verified against the connection (an authenticated Noise channel), never to an address a client named. - Proxy
Audit - Where security-relevant proxy decisions are recorded (the chain, in production). Per-request traffic is not recorded, only binds, refusals and exposure changes.
- Response
Sink - Receives a response as it is produced (so a streamed completion is relayed as it arrives, not buffered).
Functions§
- qualifies
- A peer’s standing is good enough to serve inference: admission was enforced (not observe or off), the peer is a full node (not a leaf or legacy device), and its scope is trusted.