find_with_sort

Function find_with_sort 

Source
pub async fn find_with_sort<T>(
    filter_document: Document,
    sort_document: Document,
    collection_name: &str,
    db: &Database,
) -> Result<Vec<T>, Error>
where for<'a> T: DeserializeOwned + Unpin + Send + Sync,