Function lunatic::lookup[][src]

pub fn lookup<T: Serialize + DeserializeOwned>(
    name: &str,
    query: &str
) -> Result<Option<Process<T>>, RegistryError>
Expand description

Returns a process that was registered inside the environment that the caller belongs to.

The query can be be an exact version or follow semver query rules (e.g. “^1.1”).