Trait SystemConfig

Source
pub trait SystemConfig<'sys> {
    type System: SystemHarness<'sys>;

    // Required method
    fn spawn(&self) -> impl Future<Output = Result<Self::System, Error>>;
}
Expand description

A traint representing a system configuration

Required Associated Types§

Required Methods§

Source

fn spawn(&self) -> impl Future<Output = Result<Self::System, Error>>

Spawn a system

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§