get

Function get 

Source
pub fn get<C>(
    client: &Client<C>,
    key: &str,
    options: GetOptions,
) -> impl Future<Item = Response<KeyValueInfo>, Error = Vec<Error>> + Send
where C: Clone + Connect,
Expand description

Gets the value of a node.

§Parameters

  • client: A Client to use to make the API call.
  • key: The name of the node to retrieve.
  • options: Options to customize the behavior of the operation.

§Errors

Fails if the key doesn’t exist.