Struct kv::ValueRef [] [src]

pub struct ValueRef<'a>(_);

A reference to an existing value slice

Methods

impl<'a> ValueRef<'a>
[src]

[src]

Create a new ValueRef from an existing byte slice

Trait Implementations

impl<'a> Debug for ValueRef<'a>
[src]

[src]

Formats the value using the given formatter. Read more

impl<'a> PartialEq for ValueRef<'a>
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl<'a> PartialOrd for ValueRef<'a>
[src]

[src]

This method returns an ordering between self and other values if one exists. Read more

[src]

This method tests less than (for self and other) and is used by the < operator. Read more

[src]

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

[src]

This method tests greater than (for self and other) and is used by the > operator. Read more

[src]

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl<'a> AsRef<[u8]> for ValueRef<'a>
[src]

Important traits for &'a mut [u8]
[src]

Performs the conversion.

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

[src]

Used to convert a byte-slice to Value

impl<'a> From<&'a str> for ValueRef<'a>
[src]

[src]

Performs the conversion.

Auto Trait Implementations

impl<'a> Send for ValueRef<'a>

impl<'a> Sync for ValueRef<'a>