crb_routine::runtime

Trait Standalone

Source
pub trait Standalone: Routine {
    // Required method
    fn spawn(self)
       where Self::Context: Default;
}

Required Methods§

Source

fn spawn(self)
where Self::Context: Default,

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: Routine + 'static> Standalone for T