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§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".