pub struct PingClient(_);Implementations§
source§impl PingClient
impl PingClient
pub fn ptr_eq(&self, other: &Self) -> bool
pub fn local_device(&self) -> Device
pub fn stop(&self)
pub fn sn(&self) -> &DeviceId
pub fn index(&self) -> usize
pub async fn wait_offline(&self) -> BuckyResult<()>
pub async fn wait_online(&self) -> BuckyResult<SnStatus>
pub fn on_time_escape(&self, now: Timestamp)
pub fn on_udp_ping_resp( &self, resp: &SnPingResp, from: &Endpoint, interface: Interface )
Trait Implementations§
source§impl Clone for PingClient
impl Clone for PingClient
source§fn clone(&self) -> PingClient
fn clone(&self) -> PingClient
Returns a copy 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 more