Trait Launchable

Source
pub(crate) trait Launchable: Send + Sync {
    // Required method
    fn launch(self: Box<Self>) -> Result<(), StartupError>;
}
Expand description

Private trait used to type-erase ForLaunch<R>, so that we don’t need to parameterize OnionService on <R>.

Required Methods§

Source

fn launch(self: Box<Self>) -> Result<(), StartupError>

Launch

Implementors§