pub struct Pinger { /* private fields */ }
Implementations§
Source§impl Pinger
impl Pinger
pub fn new(_max_rtt: Option<u64>, _size: Option<usize>) -> NewPingerResult
pub fn add_ipaddr(&self, ipaddr: &str)
pub fn remove_ipaddr(&self, ipaddr: &str)
pub fn stop_pinger(&self)
pub fn ping_once(&self)
pub fn run_pinger(&self)
Auto Trait Implementations§
impl Freeze for Pinger
impl RefUnwindSafe for Pinger
impl Send for Pinger
impl Sync for Pinger
impl Unpin for Pinger
impl UnwindSafe for Pinger
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more