pub enum LocalProbe {
NotAttempted,
NothingAnswered,
Found(LocalServer),
}Expand description
What the loopback probe found — three-valued, because two of these were being reported as the third.
An Option here collapsed “asked, and nothing answered” into “never
asked”, and the step then printed the first sentence for both: somebody
with a configured-but-unselected [providers.local] and a llama-server
happily running on it was told “Nothing was answering at
http://127.0.0.1:8080 when this ran” — a fact asserted with no
observation behind it, which is this module’s own header rule
(never write down a number the user merely believes) inverted. The
distinction is the same one Status::Unknown and Facts::declined
both keep: an absence and an unasked question are different findings.
Variants§
NotAttempted
No probe was attempted — something can already answer, or a local provider is configured and it is not this module’s place to go looking for a second one.
NothingAnswered
Asked, and nothing that looks like a model server answered.
Found(LocalServer)
Asked, and found a server no provider names.
Trait Implementations§
Source§impl Clone for LocalProbe
impl Clone for LocalProbe
Source§fn clone(&self) -> LocalProbe
fn clone(&self) -> LocalProbe
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more