// Reads the next profile off of the given stream and, if it succeeds, returns the profile and
// the stream.
Reads the next profile off of the given stream and, if it succeeds, returns the profile and
the stream.
Reads the next profile off of the given stream and if it succeeds returns the profile and the stream .
async fn next<U>(stream: &mut InnerStream<U>) -> Result<U> {
        stream
            .try_next()
            .await?
            .ok_or_else(|| tonic::Status::ok("stream ended"))
    }
async fn next < U > ( stream : & mut InnerStream < U > ) -> Result < U > { stream . try_next ( ) . await ? . ok_or_else ( | | tonic :: Status :: ok ( " " ) ) }
Reads the next profile off of the given stream and, if it succeeds, returns the profile and
the stream.
Reads the next profile off of the given stream and if it succeeds returns the profile and the stream .
stream
&mut InnerStream<U>