pub struct ChainConfig {
pub proxies: Vec<ProxyEntry>,
pub chain_type: ChainType,
pub chain_len: usize,
pub connect_timeout: Duration,
pub localnets: Vec<LocalNet>,
pub dnats: Vec<DnatRule>,
}Expand description
Configuration for ChainEngine.
Fields§
§proxies: Vec<ProxyEntry>§chain_type: ChainType§chain_len: usizeNumber of proxies to use per connection (for Random / RoundRobin).
connect_timeout: Duration§localnets: Vec<LocalNet>§dnats: Vec<DnatRule>Trait Implementations§
Source§impl Clone for ChainConfig
impl Clone for ChainConfig
Source§fn clone(&self) -> ChainConfig
fn clone(&self) -> ChainConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ChainConfig
impl Debug for ChainConfig
Auto Trait Implementations§
impl Freeze for ChainConfig
impl RefUnwindSafe for ChainConfig
impl Send for ChainConfig
impl Sync for ChainConfig
impl Unpin for ChainConfig
impl UnsafeUnpin for ChainConfig
impl UnwindSafe for ChainConfig
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