pub(super) struct Config {
pub(super) bdp_initial_window: Option<u32>,
pub(super) keep_alive_interval: Option<Duration>,
pub(super) keep_alive_timeout: Duration,
pub(super) keep_alive_while_idle: bool,
}
Fields§
§bdp_initial_window: Option<u32>
§keep_alive_interval: Option<Duration>
If no frames are received in this amount of time, a PING frame is sent.
keep_alive_timeout: Duration
After sending a keepalive PING, the connection will be closed if a pong is not received in this amount of time.
keep_alive_while_idle: bool
If true, sends pings even when there are no active streams.
Implementations§
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)