[][src]Struct brpc_rs::ServerOptions

pub struct ServerOptions { /* fields omitted */ }

Options for a Server

Methods

impl ServerOptions[src]

pub fn new() -> Self[src]

Make a ServerOptions with default values.

pub fn set_idle_timeout_ms(&mut self, timeout: i32)[src]

Notify user when there's no data for at least idle_timeout_ms milliseconds. The default value is -1.

Trait Implementations

impl Default for ServerOptions[src]

impl Drop for ServerOptions[src]

Auto Trait Implementations

impl !Send for ServerOptions

impl !Sync for ServerOptions

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]