Struct tarpc::protocol::Config [] [src]

pub struct Config {
    pub timeout: Option<Duration>,
}

Configuration for client and server.

Fields

timeout: Option<Duration>

Request/Response timeout between packet delivery.

Trait Implementations

impl Default for Config
[src]

fn default() -> Config

Returns the "default value" for a type. Read more

impl Debug for Config
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.