Enum libtor::TorFlag [−][src]
Enum that represents a subset of the options supported by Tor
Generally speaking, all the server-only features have not been mapped since this crate is
targeted more to a client-like usage. Arbitrary flags can still be added using the
TorFlag::Custom(String)
variant.
Variants
ConfigFile(String)
PassphraseFD(u32)
DisableNetwork(TorBool)
ControlPort(u16)
ControlPortAddress(TorAddress, DisplayOption<DisplayVec<ControlPortFlag, SpaceJoiner>>)
ControlSocket(String)
ControlSocketsGroupWritable(TorBool)
HashedControlPassword(String)
CookieAuthentication(TorBool)
CookieAuthFile(String)
CookieAuthFileGroupReadable(TorBool)
ControlPortWriteToFile(String)
ControlPortFileGroupReadable(TorBool)
DataDirectory(String)
DataDirectoryGroupReadable(TorBool)
CacheDirectory(String)
CacheDirectoryGroupReadable(String)
HTTPSProxy(String)
Socks4Proxy(String)
Socks5Proxy(String)
Socks5ProxyUsername(String)
Socks5ProxyPassword(String)
UnixSocksGroupWritable(TorBool)
KeepalivePeriod(usize)
Log(LogLevel)
LogTo(LogLevel, LogDestination)
LogMessageDomains(TorBool)
LogTimeGranularity(usize)
TruncateLogFile(TorBool)
SyslogIdentityTag(String)
AndroidIdentityTag(String)
SafeLogging(TorBool)
PidFile(String)
ProtocolWarnings(TorBool)
User(String)
NoExec(TorBool)
ConnectionPadding(TorBool)
ReducedConnectionPadding(TorBool)
CircuitPadding(TorBool)
ReducedCircuitPadding(TorBool)
ExcludeNodes(DisplayVec<String, CommaJoiner>)
ExcludeExitNodes(DisplayVec<String, CommaJoiner>)
ExitNodes(DisplayVec<String, CommaJoiner>)
MiddleNodes(DisplayVec<String, CommaJoiner>)
EntryNodes(DisplayVec<String, CommaJoiner>)
StrictNodes(TorBool)
FascistFirewall(TorBool)
FirewallPorts(DisplayVec<u16, CommaJoiner>)
NewCircuitPeriod(usize)
SocksPort(u16)
SocksPortAddress(TorAddress, DisplayOption<DisplayVec<SocksPortFlag, SpaceJoiner>>, DisplayOption<DisplayVec<SocksPortIsolationFlag, SpaceJoiner>>)
SocksTimeout(usize)
SafeSocks(TorBool)
TestSocks(TorBool)
UpdateBridgesFromAuthority(TorBool)
UseBridges(TorBool)
HiddenServiceDir(String)
HiddenServicePort(TorAddress, DisplayOption<TorAddress>)
HiddenServiceVersion(HiddenServiceVersion)
HiddenServiceAuthorizeClient(HiddenServiceAuthType, DisplayVec<String, CommaJoiner>)
HiddenServiceAllowUnknownPorts(TorBool)
HiddenServiceMaxStreams(usize)
HiddenServiceMaxStreamsCloseCircuit(TorBool)
Custom(String)
Custom argument, expanded as <first_word> "<second_word> <third_word> ..."
Don’t log anything to the console
Only log warnings and errors to the console
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for TorFlag
impl Send for TorFlag
impl Sync for TorFlag
impl Unpin for TorFlag
impl UnwindSafe for TorFlag
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,