Struct esp_idf_svc::hal::sys::esp_ping_config_t
source · #[repr(C)]pub struct esp_ping_config_t {
pub count: u32,
pub interval_ms: u32,
pub timeout_ms: u32,
pub data_size: u32,
pub tos: i32,
pub ttl: i32,
pub target_addr: ip_addr,
pub task_stack_size: u32,
pub task_prio: u32,
pub interface: u32,
}
Expand description
@brief Type of “ping” configuration
Fields§
§count: u32
< A “ping” session contains count procedures
interval_ms: u32
< Milliseconds between each ping procedure
timeout_ms: u32
< Timeout value (in milliseconds) of each ping procedure
data_size: u32
< Size of the data next to ICMP packet header
tos: i32
< Type of Service, a field specified in the IP header
ttl: i32
< Time to Live,a field specified in the IP header
target_addr: ip_addr
< Target IP address, either IPv4 or IPv6
task_stack_size: u32
< Stack size of internal ping task
task_prio: u32
< Priority of internal ping task
interface: u32
< Netif index, interface=0 means NETIF_NO_INDEX
Trait Implementations§
source§impl Clone for esp_ping_config_t
impl Clone for esp_ping_config_t
source§fn clone(&self) -> esp_ping_config_t
fn clone(&self) -> esp_ping_config_t
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 Default for esp_ping_config_t
impl Default for esp_ping_config_t
source§fn default() -> esp_ping_config_t
fn default() -> esp_ping_config_t
Returns the “default value” for a type. Read more
impl Copy for esp_ping_config_t
Auto Trait Implementations§
impl Freeze for esp_ping_config_t
impl RefUnwindSafe for esp_ping_config_t
impl Send for esp_ping_config_t
impl Sync for esp_ping_config_t
impl Unpin for esp_ping_config_t
impl UnwindSafe for esp_ping_config_t
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
)