Trait kv::Value [] [src]

pub trait Value<'a>: AsRef<[u8]> {
    fn from_raw(raw: &'a [u8]) -> Self;
}

A Value can be stored in a database

Required Methods

Used to convert a byte-slice to Value

Implementations on Foreign Types

impl<'a> Value<'a> for &'a [u8]
[src]

[src]

impl<'a> Value<'a> for &'a str
[src]

[src]

impl<'a> Value<'a> for String
[src]

[src]

Implementors