Module tor_cell::relaycell

source ·
Expand description

Implementation for parsing and encoding relay cells

Modules§

  • Types and encodings used during circuit extension.
  • hshs
    Encoding and decoding for relay messages related to onion services.
  • Encoding and decoding for relay messages
  • udpexperimental-udp
    Encoding and decoding for relay messages

Structs§

  • Information about a relay message for which we don’t yet have the complete body.
  • Decodes a stream of relay cell bodies into UnparsedRelayMsgs.
  • Result of calling RelayCellDecoder::decode.
  • Specifies fields for RelayCellFormat::V0.
  • Format type corresponding to RelayCellFormat::V0.
  • A command that identifies the type of a relay cell
  • A decoded and parsed relay message, along with an optional Stream ID.
  • Identify a single stream on a circuit.
  • An enveloped relay message that has not yet been fully parsed, but where we have access to the command and stream ID, for dispatching purposes.

Enums§

Traits§

  • Specifies field layout for a particular relay cell format.
  • Specifies a relay cell format and associated types.
  • Trait implemented by anything that can serve as a relay message.

Type Aliases§

  • AnyRelayCellDeprecated
    A deprecated name for AnyRelayMsgOuter.
  • A decoded and parsed relay message of unrestricted type, with an accompanying optional Stream ID.
  • RelayCellDeprecated
    A deprecated name for RelayMsgOuter.