pub trait AnyModelExt: Model<TextStream = ChannelTextStream<String>> + Send + Sync + 'static {
    // Provided method
    fn into_any_model(self) -> DynModel
       where Self: Send + Sync + Sized { ... }
}
Expand description

An extension trait for models that can be converted into a trait object.

Provided Methods§

source

fn into_any_model(self) -> DynModel
where Self: Send + Sync + Sized,

Convert this model into a model trait object.

Implementors§

source§

impl<M: Model<TextStream = ChannelTextStream<String>> + Send + Sync + 'static> AnyModelExt for M