Realm

oa::ml::ModuleArtifact

Validated, host-owned .oam artifact awaiting an exact module owner.

StRust public API

Declaration

pub struct ModuleArtifact { /* private fields */ }
Public Rust declaration.

Public Methods

pub fn metadata(&self) -> ModuleArtifactMetadata
pub fn restore( self, engine: &Engine, model: &dyn Module, artifact_name: impl Fn(&str) -> Result<String>, ) -> Result<()>

Associated Functions

pub fn load(path: &Path) -> Result<Self>

Public Method Documentation

pub fn metadata( &self ) -> ModuleArtifactMetadata
No public source comment is attached to this declaration.
pub fn restore( self, engine: &Engine, model: &dyn Module, artifact_name: impl Fn(&str) -> Result<String>, ) -> Result<()>
No public source comment is attached to this declaration.
pub fn load( path: &Path ) -> Result<Self>
No public source comment is attached to this declaration.