pub struct MeasureManyStream<'a, V: IpVersion, I: Iterator<Item = V>> { /* 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<V: IpVersion, I: Iterator<Item = V> + Unpin> Stream for MeasureManyStream<'_, V, I>
Available on crate feature stream only.
impl<V: IpVersion, I: Iterator<Item = V> + Unpin> Stream for MeasureManyStream<'_, V, I>
Available on crate feature
stream only.Auto Trait Implementations§
impl<'a, V, I> Freeze for MeasureManyStream<'a, V, I>
impl<'a, V, I> !RefUnwindSafe for MeasureManyStream<'a, V, I>
impl<'a, V, I> Send for MeasureManyStream<'a, V, I>where
I: Send,
impl<'a, V, I> Sync for MeasureManyStream<'a, V, I>where
I: Sync,
impl<'a, V, I> Unpin for MeasureManyStream<'a, V, I>where
I: Unpin,
impl<'a, V, I> !UnwindSafe for MeasureManyStream<'a, V, 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