#[repr(C)]pub struct esp_transport_keepalive {
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 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,
§unsafe fn clone_to_uninit(&self, dst: *mut u8)
unsafe fn clone_to_uninit(&self, dst: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)