kvsd 0.1.3

Simple key value store
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use std::borrow::Cow;

pub(crate) enum Credential<'a> {
    Password(Password<'a>),
}

pub(crate) trait Provider {
    fn credential(&self) -> Credential;
}

pub(crate) struct Password<'a> {
    pub(crate) username: Cow<'a, str>,
    pub(crate) password: Cow<'a, str>,
}