Expand description
Helpers to manage lists of extensions within relay messages.
These are used widely throughout the HS code, but also in the ntor-v3 handshake.
Re-exportsยง
use derive_deftly::Deftly;๐use tor_bytes::EncodeError;๐use tor_bytes::EncodeResult;๐use tor_bytes::Readable;๐use tor_bytes::Reader;๐use tor_bytes::Result;๐use tor_bytes::Writeable;๐use tor_bytes::Writer;๐use tor_memquota::HasMemoryCostStructural;๐use tor_memquota::derive_deftly_template_HasMemoryCost;๐pub(super) use decl_extension_group;๐
Macrosยง
- decl_
extension_ ๐group - Declare an Extension group that takes a given identifier.
Structsยง
- ExtList ๐
- A list of extensions, represented in a common format used by many messages.
- ExtList
Ref ๐ - As ExtList, but held by reference.
- Unrecognized
Ext - An unrecognized or unencoded extension for some relay message.