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
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