Trait tor_hsservice::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§