Skip to main content

HfTreeFetcher

Trait HfTreeFetcher 

Source
pub trait HfTreeFetcher {
    // Required method
    async fn list_files(
        &mut self,
        model_id: &str,
        revision: Option<&str>,
    ) -> Result<Vec<HfFile>>;
}

Required Methods§

Source

async fn list_files( &mut self, model_id: &str, revision: Option<&str>, ) -> Result<Vec<HfFile>>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§