/// Create a new client for talking to the Stash storage API.
///
/// The |identity| param provides a namespace for the client.  Each unique client identity has
/// its own private namespace.
Create a new client for talking to the Stash storage API.
The |identity| param provides a namespace for the client.  Each unique client identity has
its own private namespace.
Create a new client for talking to the Stash storage API . The |identity| param provides a namespace for the client . Each unique client identity has its own private namespace .
pub async fn new(identity: &str) -> Self {
        let proxy = Self::new_proxy(identity).await;
        if let Err(e) = &proxy {
            error!("Failed to connect to stash: {}", e);
        }
        Stash { proxy: proxy.ok() }
    }
pub async fn new ( identity : & str ) -> Self { let proxy = Self :: new_proxy ( identity ) . await ; if let Err ( e ) = & proxy { error ! ( " " e ) ; } Stash { proxy : proxy . ok ( ) } }
Create a new client for talking to the Stash storage API.
Create a new client for talking to the Stash storage API .
identity
&str