Enum stackedconfig::Lookup [] [src]

pub enum Lookup {
    Missing,
    Found(Value),
}

Return value from looking up a path from a ConfigStack

conf.get("/foo/bar")      // Lookup::Found(1)
conf.get("/foo/bar/baz")  // Lookup::Missing

Variants

Indicates that the path did not resolve to a value

Contains the serde_json::Value found from a lookup

Trait Implementations

impl Debug for Lookup
[src]

[src]

Formats the value using the given formatter.

impl PartialEq for Lookup
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.