Struct bdk::blockchain::compact_filters::BitcoinPeerConfig [−][src]
pub struct BitcoinPeerConfig { pub address: String, pub socks5: Option<String>, pub socks5_credentials: Option<(String, String)>, }
This is supported on crate feature
compact_filters
only.Expand description
Data to connect to a Bitcoin P2P peer
Fields
address: String
Peer address such as 127.0.0.1:18333
socks5: Option<String>
Optional socks5 proxy
socks5_credentials: Option<(String, String)>
Optional socks5 proxy credentials
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]Deserialize this value from the given Serde deserializer. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for BitcoinPeerConfig
impl Send for BitcoinPeerConfig
impl Sync for BitcoinPeerConfig
impl Unpin for BitcoinPeerConfig
impl UnwindSafe for BitcoinPeerConfig
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self
pub fn vzip(self) -> V