Runtime

Trait Runtime 

Source
pub trait Runtime:
    RuntimeAdapter
    + TimeOps
    + Logger
    + Spawn {
    // Provided method
    fn runtime_info(&self) -> RuntimeInfo
       where Self: Sized { ... }
}
Expand description

Complete runtime trait bundle

Provided Methods§

Source

fn runtime_info(&self) -> RuntimeInfo
where Self: Sized,

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.

Implementors§

Source§

impl<T> Runtime for T