Struct grin_wallet_config::types::TorConfig
source · pub struct TorConfig {
pub skip_send_attempt: Option<bool>,
pub use_tor_listener: bool,
pub socks_proxy_addr: String,
pub send_config_dir: String,
pub bridge: TorBridgeConfig,
pub proxy: TorProxyConfig,
}
Expand description
Tor configuration
Fields§
§skip_send_attempt: Option<bool>
whether to skip any attempts to send via TOR
use_tor_listener: bool
Whether to start tor listener on listener startup (default true)
socks_proxy_addr: String
Just the address of the socks proxy for now
send_config_dir: String
Send configuration directory
bridge: TorBridgeConfig
tor bridge config
proxy: TorProxyConfig
tor proxy config
Trait Implementations§
source§impl<'de> Deserialize<'de> for TorConfig
impl<'de> Deserialize<'de> for TorConfig
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for TorConfig
impl PartialEq for TorConfig
impl StructuralPartialEq for TorConfig
Auto Trait Implementations§
impl Freeze for TorConfig
impl RefUnwindSafe for TorConfig
impl Send for TorConfig
impl Sync for TorConfig
impl Unpin for TorConfig
impl UnwindSafe for TorConfig
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more