Struct esp_idf_svc::sys::tls_keep_alive_cfg
source · #[repr(C)]pub struct tls_keep_alive_cfg {
pub keep_alive_enable: bool,
pub keep_alive_idle: i32,
pub keep_alive_interval: i32,
pub keep_alive_count: i32,
}
Expand description
@brief Keep alive parameters structure
Fields§
§keep_alive_enable: bool
< Enable keep-alive timeout
keep_alive_idle: i32
< Keep-alive idle time (second)
keep_alive_interval: i32
< Keep-alive interval time (second)
keep_alive_count: i32
< Keep-alive packet retry send count
Trait Implementations§
source§impl Clone for tls_keep_alive_cfg
impl Clone for tls_keep_alive_cfg
source§fn clone(&self) -> tls_keep_alive_cfg
fn clone(&self) -> tls_keep_alive_cfg
Returns a copy of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for tls_keep_alive_cfg
impl Debug for tls_keep_alive_cfg
source§impl Default for tls_keep_alive_cfg
impl Default for tls_keep_alive_cfg
source§fn default() -> tls_keep_alive_cfg
fn default() -> tls_keep_alive_cfg
Returns the “default value” for a type. Read more
impl Copy for tls_keep_alive_cfg
Auto Trait Implementations§
impl Freeze for tls_keep_alive_cfg
impl RefUnwindSafe for tls_keep_alive_cfg
impl Send for tls_keep_alive_cfg
impl Sync for tls_keep_alive_cfg
impl Unpin for tls_keep_alive_cfg
impl UnwindSafe for tls_keep_alive_cfg
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
§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
)