pub trait Runtime: RuntimeLite {
type Net: Net;
type Process: Process;
type Quinn: QuinnRuntime;
// Required method
fn quinn() -> Self::Quinn;
}Expand description
Runtime trait
Required Associated Types§
Sourcetype Process: Process
Available on crate feature process only.
type Process: Process
process only.The process abstraction for this runtime
Sourcetype Quinn: QuinnRuntime
Available on crate feature quinn only.
type Quinn: QuinnRuntime
quinn only.The Quinn abstraction for this runtime
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.
Implementors§
Source§impl Runtime for AsyncStdRuntime
Available on crate feature async-std only.
impl Runtime for AsyncStdRuntime
Available on crate feature
async-std only.Source§impl Runtime for SmolRuntime
Available on crate feature smol only.
impl Runtime for SmolRuntime
Available on crate feature
smol only.