_

Trait _ 

Source
pub trait _: TaskInterface {
    type NewError: Debug;

    // Required method
    fn new(config: Config) -> Result<Self, Self::NewError>;
}
Expand description

Full interface for Runtime, including creation

Required Associated Types§

Source

type NewError: Debug

Error type when creating

Required Methods§

Source

fn new(config: Config) -> Result<Self, Self::NewError>

Create a new runtime

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§