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 Freeze for Config
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnwindSafe for Config
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