Function memento::new

source ·
pub async fn new<A: ToSocketAddrs>(addr: A) -> Result<Memento>
Expand description
use memento::Result;

#[tokio::main]
async fn main() -> Result<()> {
    let client = memento::new("localhost:11211").await?;

    Ok(())
}