Skip to main content

fetch_auth

Function fetch_auth 

Source
fn fetch_auth<Fetch, Fut, Pdu>(
    id: usize,
    event_id: OwnedEventId,
    fetch: &Fetch,
) -> impl Future<Output = (usize, OwnedEventId, Result<Pdu>)> + Send
where Fetch: Fn(OwnedEventId) -> Fut, Fut: Future<Output = Result<Pdu>> + Send,