pub trait ResolvedRuntime: Send + Sync {
// Required methods
fn fingerprint(&self) -> &str;
fn as_any(&self) -> &(dyn Any + 'static);
}Expand description
One runtime the host resolved for one requirement.
The runtime never learns the executable path or the resolution root: it carries the handle back to the same port for the effect, and the identity a permit is bound to is the fingerprint the host published.
Required Methods§
fn fingerprint(&self) -> &str
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".