pub trait RealtimeModelLoadingBackend: RealtimeBackend + Sized {
type Preparation;
type LoadOptions;
// Required method
fn materialize_realtime_model(
&self,
preparation: Self::Preparation,
options: Self::LoadOptions,
) -> Result<Self::Model, Self::Error>;
}Expand description
Materialization contract for an architecture-prepared realtime model.
Architecture code inspects the artifact and produces Self::Preparation
before this boundary. The selected backend consumes that neutral plan and
owns only device-specific materialization.
Required Associated Types§
Sourcetype Preparation
type Preparation
Architecture-owned, backend-neutral artifact preparation.
Sourcetype LoadOptions
type LoadOptions
Backend-specific materialization policy.
Required Methods§
Sourcefn materialize_realtime_model(
&self,
preparation: Self::Preparation,
options: Self::LoadOptions,
) -> Result<Self::Model, Self::Error>
fn materialize_realtime_model( &self, preparation: Self::Preparation, options: Self::LoadOptions, ) -> Result<Self::Model, Self::Error>
Materializes one architecture-prepared realtime model.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".