pub struct Prober { /* private fields */ }Implementations§
Source§impl Prober
impl Prober
Sourcepub fn start(&self, target: SocketAddr, interval: Duration, duration: Duration)
pub fn start(&self, target: SocketAddr, interval: Duration, duration: Duration)
Start probing target; a running probe is replaced.
pub fn start_default(&self, target: SocketAddr)
pub fn stop(&self)
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for Prober
impl RefUnwindSafe for Prober
impl Send for Prober
impl Sync for Prober
impl Unpin for Prober
impl UnsafeUnpin for Prober
impl UnwindSafe for Prober
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