Struct esp_idf_sys::esp_transport_keepalive
source · #[repr(C)]pub struct esp_transport_keepalive {
pub keep_alive_enable: bool,
pub keep_alive_idle: c_int,
pub keep_alive_interval: c_int,
pub keep_alive_count: c_int,
}
Expand description
@brief Keep alive parameters structure
Fields§
§keep_alive_enable: bool
< Enable keep-alive timeout
keep_alive_idle: c_int
< Keep-alive idle time (second)
keep_alive_interval: c_int
< Keep-alive interval time (second)
keep_alive_count: c_int
< Keep-alive packet retry send count
Trait Implementations§
source§impl Clone for esp_transport_keepalive
impl Clone for esp_transport_keepalive
source§fn clone(&self) -> esp_transport_keepalive
fn clone(&self) -> esp_transport_keepalive
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 esp_transport_keepalive
impl Debug for esp_transport_keepalive
source§impl Default for esp_transport_keepalive
impl Default for esp_transport_keepalive
source§fn default() -> esp_transport_keepalive
fn default() -> esp_transport_keepalive
Returns the “default value” for a type. Read more
impl Copy for esp_transport_keepalive
Auto Trait Implementations§
impl Freeze for esp_transport_keepalive
impl RefUnwindSafe for esp_transport_keepalive
impl Send for esp_transport_keepalive
impl Sync for esp_transport_keepalive
impl Unpin for esp_transport_keepalive
impl UnwindSafe for esp_transport_keepalive
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
)