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.
Executes the destructor for this type.
Read more
Values yielded by the stream.
Attempt to pull out the next value of this stream, registering the
current task for wakeup if the value is not yet available, and returning
None if the stream is exhausted.
Read more
Returns the bounds on the remaining length of the stream.
Read more
Immutably borrows from an owned value.
Read more
Mutably borrows from an owned value.
Read more
Returns the argument unchanged.
Calls U::from(self).
That is, this conversion is whatever the implementation of
From<T> for U chooses to do.
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.