[−][src]Struct tarpc_lib::server::Config
Settings that control the behavior of the server.
Fields (Non-exhaustive)
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.max_connections: usizeThe maximum number of clients that can be connected to the server at once. When at the limit, existing connections are honored and new connections are rejected.
max_connections_per_ip: usizeThe maximum number of clients per IP address that can be connected to the server at once. When an IP is at the limit, existing connections are honored and new connections on that IP address are rejected.
max_in_flight_requests_per_connection: usizeThe maximum number of requests that can be in flight for each client. When a client is at the in-flight request limit, existing requests are fulfilled and new requests are rejected. Rejected requests are sent a response error.
pending_response_buffer: usizeThe number of responses per client that can be buffered server-side before being sent.
pending_response_buffer controls the buffer size of the channel that a server's
response tasks use to send responses to the client handler task.
Trait Implementations
impl Clone for Config[src]
fn clone(&self) -> Config[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl Default for Config[src]
impl Debug for Config[src]
Auto Trait Implementations
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> From<T> for T[src]
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T[src]
fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,