Expand description
The remote tunnel’s settings (ADR 0012): the connect side’s stored pairing as one value, and the remote half of merging and validating.
Split out via #[path], the way settings_validate.rs is, and for the
same reason: settings.rs sits exactly on its ratchet baseline, so a type
that carries its own doc comment cannot live in it — and neither can the
arms that grow with it. merge and validate_settings each call into
here once, so a remote field added later touches settings.rs by one
line for its declaration and nothing else.
Structs§
- Device
- One device this machine has issued a key to.
- Remote
Pairing - The machine
gglib remote joinpaired with, and the key that machine issued — one record, because they are one fact. - Remote
Serve - How this machine was told to put its proxy on the tunnel, kept so a restart arms it the same way.
Functions§
- default_
true 🔒 serde(default)for a field whose absence means yes.- valid_
device_ 🔒id - modelpipe’s rule for a token name, applied before a row is written
rather than when the listener refuses it: ASCII letters, digits,
.,_and-, one to sixty-four bytes. - validate_
remote 🔒 - The remote half of
validate_settings.