pub struct ClientConfig {Show 16 fields
pub server_addr: String,
pub duration: Option<Duration>,
pub interval: Duration,
pub length: u32,
pub received_stats: ReceivedStats,
pub stamp_at: StampAt,
pub clock: Clock,
pub dscp: u8,
pub hmac_key: Option<Vec<u8>>,
pub server_fill: Option<String>,
pub open_timeouts: Vec<Duration>,
pub run_mode: RunMode,
pub negotiation_policy: NegotiationPolicy,
pub socket_config: SocketConfig,
pub probe_timeout: Duration,
pub max_pending_probes: usize,
}Fields§
§server_addr: String§duration: Option<Duration>§interval: Duration§length: u32§received_stats: ReceivedStats§stamp_at: StampAt§clock: Clock§dscp: u8§hmac_key: Option<Vec<u8>>§server_fill: Option<String>§open_timeouts: Vec<Duration>§run_mode: RunMode§negotiation_policy: NegotiationPolicy§socket_config: SocketConfig§probe_timeout: Duration§max_pending_probes: usizeTrait Implementations§
Source§impl Clone for ClientConfig
impl Clone for ClientConfig
Source§fn clone(&self) -> ClientConfig
fn clone(&self) -> ClientConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ClientConfig
impl Debug for ClientConfig
Source§impl Default for ClientConfig
impl Default for ClientConfig
Source§impl PartialEq for ClientConfig
impl PartialEq for ClientConfig
Source§fn eq(&self, other: &ClientConfig) -> bool
fn eq(&self, other: &ClientConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for ClientConfig
impl StructuralPartialEq for ClientConfig
Auto Trait Implementations§
impl Freeze for ClientConfig
impl RefUnwindSafe for ClientConfig
impl Send for ClientConfig
impl Sync for ClientConfig
impl Unpin for ClientConfig
impl UnsafeUnpin for ClientConfig
impl UnwindSafe for ClientConfig
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