Struct sosistab::ClientConfig [−][src]
pub struct ClientConfig {
pub server_addr: SocketAddr,
pub server_pk: PublicKey,
pub gather: Arc<StatsGatherer>,
pub protocol: Protocol,
pub shard_count: usize,
pub reset_interval: Option<Duration>,
}
Expand description
Configuration of a client.
Fields
server_addr: SocketAddr
server_pk: PublicKey
gather: Arc<StatsGatherer>
protocol: Protocol
shard_count: usize
reset_interval: Option<Duration>
Implementations
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for ClientConfig
impl Send for ClientConfig
impl Sync for ClientConfig
impl Unpin for ClientConfig
impl !UnwindSafe for ClientConfig
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more