pub struct ConnectionLimits {
pub max_tcp_connections: usize,
pub max_websocket_connections: usize,
pub max_http_concurrent: usize,
pub max_unix_connections: usize,
}Expand description
Connection limits.
Fields§
§max_tcp_connections: usizeMaximum concurrent TCP connections.
max_websocket_connections: usizeMaximum concurrent WebSocket connections.
max_http_concurrent: usizeMaximum concurrent HTTP requests.
max_unix_connections: usizeMaximum concurrent Unix socket connections.
Implementations§
Trait Implementations§
Source§impl Clone for ConnectionLimits
impl Clone for ConnectionLimits
Source§fn clone(&self) -> ConnectionLimits
fn clone(&self) -> ConnectionLimits
Returns a duplicate of the value. Read more
1.0.0 · 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 ConnectionLimits
impl Debug for ConnectionLimits
Auto Trait Implementations§
impl Freeze for ConnectionLimits
impl RefUnwindSafe for ConnectionLimits
impl Send for ConnectionLimits
impl Sync for ConnectionLimits
impl Unpin for ConnectionLimits
impl UnsafeUnpin for ConnectionLimits
impl UnwindSafe for ConnectionLimits
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