pub trait Tran {
type Md: TranParser;
type Yml: TranParser;
// Provided method
async fn run(
cache: impl TranCache,
traner: impl Traner + Clone + Send + Sync + 'static,
data: Tran,
) -> Result<AsyncReceiver<TranResult>> { ... }
}Required Associated Types§
type Md: TranParser
type Yml: TranParser
Provided Methods§
async fn run( cache: impl TranCache, traner: impl Traner + Clone + Send + Sync + 'static, data: Tran, ) -> Result<AsyncReceiver<TranResult>>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.