[][src]Struct kv::ValueMut

pub struct ValueMut<'a>(_);

A mutable reference to an existing value slice

Methods

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

Important traits for ValueMut<'a>
pub fn new(buf: &'a mut [u8]) -> ValueMut<'a>[src]

Create a new ValueMut from an existing byte slice

pub fn as_value<V: Value<'a>>(&'a self) -> ValueRef<'a>[src]

Convert a ValueMut to ValueRef

Trait Implementations

impl<'a> AsMut<[u8]> for ValueMut<'a>[src]

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

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

impl<'a> Write for ValueMut<'a>[src]

Auto Trait Implementations

impl<'a> RefUnwindSafe for ValueMut<'a>

impl<'a> Send for ValueMut<'a>

impl<'a> Sync for ValueMut<'a>

impl<'a> Unpin for ValueMut<'a>

impl<'a> !UnwindSafe for ValueMut<'a>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<W> WriteBytesExt for W where
    W: Write + ?Sized