Struct arti_tor_client::ConnectPrefs [−][src]
pub struct ConnectPrefs { /* fields omitted */ }
Expand description
Preferences for how to route a stream over the Tor network.
Implementations
Indicate that a stream may be made over IPv4 or IPv6, but that we’d prefer IPv6.
Indicate that a stream may only be made over IPv6.
When this option is set, we will only pick exit relays that suppport IPv6, and we will tell them to only give us IPv6 connections.
Indicate that a stream may be made over IPv4 or IPv6, but that we’d prefer IPv4.
This is the default.
Trait Implementations
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for ConnectPrefs
impl Send for ConnectPrefs
impl Sync for ConnectPrefs
impl Unpin for ConnectPrefs
impl UnwindSafe for ConnectPrefs
Blanket Implementations
Mutably borrows from an owned value. Read more
type Output = T
type Output = T
Should always be Self
pub fn vzip(self) -> V