[−][src]Module torut::control
Control module implements all the utilities required to talk to tor instance and to give it some orders or get some info form it.
Structs
AsyncEvent | AsyncEvent is able to contain all info about async event which has been received from tor process. |
AuthenticatedConn | AuthenticatedConn represents connection to TorCP after it has been authenticated so one may perform various operations on it. |
Conn | Conn wraps any |
TorPreAuthInfo | TorPreAuthInfo contains info which can be received from tor process before authentication |
UnauthenticatedConn | UnauthenticatedConn represents connection to torCP which is not authenticated yet and for this reason only limited amount of operations may be performed on it. |
Enums
AsyncEventKind | AsyncEventKind right now torCP implements some limited amount of kinds of events
|
AuthenticatedConnError | AuthenticatedConnError describes subset of |
ConnError | ConnError is able to wrap any error that a connection may return |
TorAuthData | TorAuthData contains all data required to authenticate single |
TorAuthMethod | TorAuthMethod describes method which tor accepts as authentication method |
TorErrorKind | |
TorSignal | TorSignal describes tor's SIGNAL command argument |
UnauthenticatedConnError | UnauthenticatedConnError describes subset of |
Constants
COOKIE_LENGTH | Length of tor cookie in bytes. Tor cookies have fixed length |