pub struct SessionKeepaliveConfig {
pub ping_interval: Duration,
pub pong_timeout: Duration,
}Expand description
Session-level protocol keepalive configuration.
Fields§
§ping_interval: Duration§pong_timeout: DurationTrait Implementations§
Source§impl Clone for SessionKeepaliveConfig
impl Clone for SessionKeepaliveConfig
Source§fn clone(&self) -> SessionKeepaliveConfig
fn clone(&self) -> SessionKeepaliveConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SessionKeepaliveConfig
impl Debug for SessionKeepaliveConfig
impl Copy for SessionKeepaliveConfig
Auto Trait Implementations§
impl Freeze for SessionKeepaliveConfig
impl RefUnwindSafe for SessionKeepaliveConfig
impl Send for SessionKeepaliveConfig
impl Sync for SessionKeepaliveConfig
impl Unpin for SessionKeepaliveConfig
impl UnsafeUnpin for SessionKeepaliveConfig
impl UnwindSafe for SessionKeepaliveConfig
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