vector::test_util

Function collect_limited

source
pub async fn collect_limited<T: Send + 'static>(
    rx: LimitedReceiver<T>,
) -> Vec<T>