Skip to main content

Module impls

Module impls 

Source
Expand description

Implementations of Writeable and Readable for several items that we use in Tor.

These don’t need to be in a separate module, but for convenience this is where I’m putting them.

ModulesΒ§

ctbytearray_impls πŸ”’
Implement Readable and Writeable for CtByteArray
curve25519_impls πŸ”’
Implement Readable and Writeable for Curve25519 types.
digest_impls πŸ”’
Implement readable and writeable for the digest::CtOutput type.
ed25519_impls πŸ”’
Implement Readable and Writeable for Ed25519 types.
net_impls πŸ”’
Implement Readable and Writeable for IPv4 and IPv6 addresses.
rsa_impls πŸ”’
Implement readable and writeable for the RsaIdentity type.
u8_array_impls πŸ”’
Implement readable and writeable for u8 arrays.

MacrosΒ§

impl_u πŸ”’
Make Readable and Writeable implementations for a provided unsigned type, delegating to the read_uNN and write_uNN functions.