pub async fn download_run(
    client: &Client,
    id: &str,
) -> Result<composite::ParsedRun, DownloadError> {
    let bytes = api::run::download(client, id).await.context(Download)?;
    let bytes: &[u8] = &*bytes;
    composite::parse(Cursor::new(bytes), None, false).context(Parse)
}
/// Asynchronously downloads a run from Splits.io based on its Splits.io ID. The
/// run automatically gets parsed into a Run object.
Asynchronously downloads a run from Splits.io based on its Splits.io ID. The
run automatically gets parsed into a Run object.
Asynchronously downloads a run from Splits . io based on its Splits . io ID . The run automatically gets parsed into a Run object .
pub async fn download_run(
    client: &Client,
    id: &str,
) -> Result<composite::ParsedRun, DownloadError> {
    let bytes = api::run::download(client, id).await.context(Download)?;
    let bytes: &[u8] = &*bytes;
    composite::parse(Cursor::new(bytes), None, false).context(Parse)
}
pub async fn download_run ( client : & Client , id : & str , ) -> Result < composite :: ParsedRun , DownloadError > { let bytes = api :: run :: download ( client , id ) . await . context ( Download ) ? ; let bytes : & [ u8 ] = & * bytes ; composite :: parse ( Cursor :: new ( bytes ) , None , false ) . context ( Parse ) }
Asynchronously downloads a run from Splits.io based on its Splits.io ID.
Asynchronously downloads a run from Splits . io based on its Splits . io ID .
client
&Client
id
&str
client
&Client
id
&str