monoio-client 0.1.0

A generic client which supports pooling, timeout and more
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#![feature(type_alias_impl_trait)]
#![feature(impl_trait_in_assoc_type)]

pub mod client;

pub mod tcp_client;

/// The current pool status.
#[derive(Clone, Copy, Debug)]
pub struct Status {
    /// The maximum size of the pool.
    pub max_size: usize,

    /// The current size of the pool.
    pub size: usize,
}