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§
type System: SystemHarness<'sys>
Required Methods§
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.