pub struct DualstackMeasureManyStream<'a, I: Iterator<Item = IpAddr>> { /* private fields */ }Expand description
A Stream of ping responses.
No kind of rtt timeout is implemented, so an external mechanism
like tokio::time::timeout should be used to prevent the program
from hanging indefinitely.
Leaking this method might crate a slowly forever growing memory leak.
Implementations§
Trait Implementations§
Source§impl<I: Iterator<Item = IpAddr> + Unpin> Stream for DualstackMeasureManyStream<'_, I>
Available on crate feature stream only.
impl<I: Iterator<Item = IpAddr> + Unpin> Stream for DualstackMeasureManyStream<'_, I>
Available on crate feature
stream only.Auto Trait Implementations§
impl<'a, I> Freeze for DualstackMeasureManyStream<'a, I>where
I: Freeze,
impl<'a, I> !RefUnwindSafe for DualstackMeasureManyStream<'a, I>
impl<'a, I> Send for DualstackMeasureManyStream<'a, I>where
I: Send,
impl<'a, I> Sync for DualstackMeasureManyStream<'a, I>where
I: Sync,
impl<'a, I> Unpin for DualstackMeasureManyStream<'a, I>where
I: Unpin,
impl<'a, I> !UnwindSafe for DualstackMeasureManyStream<'a, I>
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