Expand description
Wrap tor_cell::chancell::codec::ChannelCodec for use with the asynchronous_codec crate.
Re-exportsยง
use digest::Digest;๐use tor_bytes::Reader;๐use tor_cell::chancell::AnyChanCell;๐use tor_cell::chancell::ChanCell;๐use tor_cell::chancell::ChanCmd;๐use tor_cell::chancell::ChanMsg;๐use tor_cell::chancell::codec;๐use tor_cell::chancell::msg;๐use tor_cell::chancell::msg::AnyChanMsg;๐use tor_error::internal;๐use tor_llcrypto as ll;๐use bytes::BytesMut;๐use crate::channel::msg::LinkVersion;๐use crate::util::err::Error as ChanError;๐use super::ChannelType;๐use super::msg::MessageFilter;๐
Structsยง
- Clog
Digest ๐ - The rolling digest for the bytes sent on a channel. (Received by the responder).
- Handshake
Channel ๐Handler - The handshake channel handler which is used to decode and encode cells onto a channel that is handshaking with an endpoint.
- NewChannel
Handler ๐ - A new channel handler used when a channel is created but before the handshake meaning there is no link protocol version yet associated with it.
- Open
Channel ๐Handler - The open channel handler which is used to decode and encode cells onto an open Channel.
- Slog
Digest ๐ - The rolling digest for the bytes received on a channel. (Sent by the responder).
Enumsยง
- Channel
Cell ๐Handler - Channel cell handler which is always in three state.
Type Aliasesยง
- Auth
LogDigest ๐ - An authentication rolling digest value.