Skip to main content

Fetch

Type Alias Fetch 

Source
pub type Fetch = Arc<dyn Fn(&Model) -> Result<(), String> + Send + Sync>;
Expand description

把模型下载到 <缓存根>/<仓库名>(只在文件不全时调用),边下边校验。

Aliased Type§

pub struct Fetch { /* private fields */ }