Struct massping::MeasureManyStream
source · [−]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
sourceimpl<'a, V: IpVersion, I: Iterator<Item = V>> MeasureManyStream<'a, V, I>
impl<'a, V: IpVersion, I: Iterator<Item = V>> MeasureManyStream<'a, V, I>
pub fn poll_next_unpin(&mut self, cx: &mut Context<'_>) -> Poll<(V, Duration)>
Trait Implementations
sourceimpl<'a, V: IpVersion, I: Iterator<Item = V>> Drop for MeasureManyStream<'a, V, I>
impl<'a, V: IpVersion, I: Iterator<Item = V>> Drop for MeasureManyStream<'a, V, I>
sourceimpl<'a, V: IpVersion, I: Iterator<Item = V> + Unpin> Stream for MeasureManyStream<'a, V, I>
impl<'a, V: IpVersion, I: Iterator<Item = V> + Unpin> Stream for MeasureManyStream<'a, V, I>
Auto Trait Implementations
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more