Trait cushy::AppRuntime
source · pub trait AppRuntime:
Send
+ Clone
+ 'static {
type Guard<'a>;
// Required method
fn enter(&self) -> Self::Guard<'_>;
}
Expand description
A runtime associated with the Cushy application.
This trait is how Cushy adds optional support for tokio
.
Required Associated Types§
Required Methods§
Object Safety§
This trait is not object safe.