1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
//! Interfaces used when defining models.
mod context;
mod host;
mod metadata;
mod model;
pub use self::{
context::Context,
host::{Host, HostExt},
metadata::{ArgumentMetadata, Metadata, ModelMetadata},
model::Model,
};
/// A generic error used when defining a model.
pub type Error = Box<dyn std::error::Error + Send + Sync>;