Expand description
Typed result payloads for the control methods.
Each struct is field-for-field identical to what dig-node emits (snake_case wire fields), so a
client deserializes the node’s real response and re-serializes the same bytes — the property the
conformance KATs pin. Genuinely open/proxied shapes (the updater beacon’s status, the peer-pool
snapshot, the pairing list) stay serde_json::Value on the call’s Output rather than being
frozen into a struct that would drift from the proxied source.
Structs§
- Cache
Clear Result control.cache.clear— the clear acknowledgement.- Cache
View - The on-disk content-cache view (
control.cache.get, and embedded inStatusResult). - Capsule
Entry - One cached capsule of a store, as listed by the hosted-stores methods.
- Config
Result control.config.get— the node’s effective configuration.- Hosted
Store - One hosted/pinned store (
control.hostedStores.list). - Hosted
Store Status Result control.hostedStores.status— per-store pinned flag + cached capsules.- Hosted
Stores List Result control.hostedStores.list— every held/pinned store.- List
Subscriptions Result control.listSubscriptions— the node’s persisted subscription set.- Pairing
Approve Result control.pairing.approve— the mint acknowledgement + the new token’s id.- Pairing
Poll Result pairing.poll— the pairing poll outcome (OPEN, no token).- Pairing
Request Result pairing.request— the pairing handshake bootstrap (OPEN, no token).- Pairing
Revoke Result control.pairing.revoke— the revoke acknowledgement.- Peers
Connect Result control.peers.connect— the connected peer’s id.- Peers
Disconnect Result control.peers.disconnect— the dropped peer’s id.- PinResult
control.hostedStores.pin— the pin acknowledgement + the pre-fetch outcome.- SetCap
Result control.cache.setCap— the applied cap (after the 64 MiB floor).- SetLevel
Result control.log.setLevel— the applied filter directive.- SetUpstream
Result control.config.setUpstream— the persisted override + a restart hint.- Status
Result control.status— a rich node status snapshot.- Subscribe
Result control.subscribe— the subscription acknowledgement.- Sync
Availability - The §21 sync availability flag embedded in
StatusResult. - Sync
Status Result control.sync.status— §21 sync availability + pin coverage.- Sync
Trigger Result control.sync.trigger— the synced-capsule outcome.- Unpin
Result control.hostedStores.unpin— the unpin acknowledgement + eviction count.- Unsubscribe
Result control.unsubscribe— the unsubscription acknowledgement.