[][src]Trait kv::Value

pub trait Value: Sized {
    fn to_raw_value(&self) -> Result<Raw, Error>;
fn from_raw_value(r: Raw) -> Result<Self, Error>; }

A trait used to convert between types and Raw

Required methods

fn to_raw_value(&self) -> Result<Raw, Error>

Wrapper around AsRef<u8>

fn from_raw_value(r: Raw) -> Result<Self, Error>

Convert from Raw

Loading content...

Implementations on Foreign Types

impl Value for Arc<[u8]>[src]

impl Value for Vec<u8>[src]

impl Value for String[src]

Loading content...

Implementors

Loading content...