pub struct IdleConfig { /* private fields */ }Implementations§
Source§impl IdleConfig
impl IdleConfig
pub fn new(max_idle_timeout: Duration, defer_idle_timeout: Duration) -> Self
pub fn negotiate_max_idle_timeout(&mut self, max_idle_timeout: Duration)
pub fn set_heartbeat_interval(&mut self, interval: Duration)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for IdleConfig
impl RefUnwindSafe for IdleConfig
impl Send for IdleConfig
impl Sync for IdleConfig
impl Unpin for IdleConfig
impl UnsafeUnpin for IdleConfig
impl UnwindSafe for IdleConfig
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