Skip to main content

Module msghandler

Module msghandler 

Source
Expand description

A message handler trait for use with ClientTunnel::start_conversation.

Although this is similar to stream::cmdcheck, I am deliberately leaving them separate. Conceivably they should be unified at some point down the road?

Re-exportsยง

use tor_cell::relaycell::msg::AnyRelayMsg; ๐Ÿ”’
use tor_cell::relaycell::AnyRelayMsgOuter; ๐Ÿ”’
use tor_cell::relaycell::RelayMsg; ๐Ÿ”’
use tor_cell::relaycell::UnparsedRelayMsg; ๐Ÿ”’
use crate::Error; ๐Ÿ”’
use crate::Result; ๐Ÿ”’
use crate::client::reactor::MetaCellDisposition; ๐Ÿ”’
use super::HopLocation; ๐Ÿ”’

Structsยง

UserMsgHandler
Wrapper for MsgHandler to implement MetaCellHandler

Traitsยง

MsgHandler
An object that checks whether incoming control messages are acceptable on a circuit, and delivers them to a client if so.