about summary refs log tree commit diff
path: root/net
diff options
context:
space:
mode:
authorProfpatsch <mail@profpatsch.de>2021-02-07T18·06+0100
committerProfpatsch <mail@profpatsch.de>2021-02-09T01·36+0000
commit7d9c30ab3d9a9cb72cfcdec0ef060059edca7b1e (patch)
tree47f6d4436315d387ab0ec9b2406b1393abe489f2 /net
parent3226e6243f453d2171787e5a5bfbecda9ab469fb (diff)
feat(users/Profpatsch/netencode): add `dec::RecordDot` r/2190
`dec::RecordDot` accesses a specific field of a netencode record.

In order to implement this, either we’d have to introduce a type-level
string, but in all honesty this kind of typelevel circlejerking never
leads anywhere, so let’s change the trait to use `&self` after all.
Usage is pretty much the same, except actually more like you’d expect.

Change-Id: I5a7f1a3f587256c50df1b65c2969e5a7194bba70
Reviewed-on: https://cl.tvl.fyi/c/depot/+/2494
Tested-by: BuildkiteCI
Reviewed-by: Profpatsch <mail@profpatsch.de>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions