usecrate::installer::Installer;/// An interface for a entity that has threads managed by the `Runtime`.
pubtraitThreadable: Send {/// Method that installs the threads that the `Threadable` is responsible for.
fninstall(&self, installer:&Installer);/// Called when threads are requested to pause.
////// # Errors
/// Returns an error is that thread cannot be paused for any reason.
#[inline]fnpause(&self){}/// Called when threads are requested to resume.
////// # Errors
/// Returns an error is that thread cannot be resumed for any reason.
#[inline]fnresume(&self){}/// Called when threads are requested to finish.
////// # Errors
/// Returns an error is that thread cannot be ended for any reason.
#[inline]fnend(&self){}}