Struct shadowsocks_service::config::BalancerConfig [−][src]
pub struct BalancerConfig {
pub max_server_rtt: Option<Duration>,
pub check_interval: Option<Duration>,
}
Expand description
Balancer Config
Fields
max_server_rtt: Option<Duration>
MAX rtt of servers, which is the timeout duration of each check requests
check_interval: Option<Duration>
Interval between each checking
Trait Implementations
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for BalancerConfig
impl Send for BalancerConfig
impl Sync for BalancerConfig
impl Unpin for BalancerConfig
impl UnwindSafe for BalancerConfig
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more