Struct toku_client::Config [−][src]
pub struct Config { pub max_payload_size: ByteSize, pub request_timeout: Duration, pub handshake_timeout: Duration, pub supported_encodings: &'static [&'static str], }
Fields
max_payload_size: ByteSize
The maximum size of the payload part of a toku frame.
request_timeout: Duration
The duration of time from when a client makes a request to when we stop waiting for a response from the server.
handshake_timeout: Duration
The duration of time from when a client starts a connect to when we stop trying to handshake.
supported_encodings: &'static [&'static str]
Supported encodings.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Config
impl UnwindSafe for Config
Blanket Implementations
Mutably borrows from an owned value. Read more