Skip to main content

Module backend

Module backend 

Source
Expand description

What every engine backend shares, whichever capability it serves: the boxed shape of its own failures, the files its model downloads as, and validation of the model files it loads. Each capability wraps these in its own error vocabulary.

Structs§

ModelDownload
One file of an engine’s model and where to download it.

Enums§

BackendError
ModelError
Unpack
How the file comes out of what url serves.

Functions§

validate_model_directoryNon-target_family=wasm
validate_model_fileNon-target_family=wasm