[][src]Trait memcache::ToMemcacheValue

pub trait ToMemcacheValue<W: Write> {
    fn get_flags(&self) -> u32;
fn get_length(&self) -> usize;
fn write_to(&self, stream: &mut W) -> Result<()>; }

determine how the value is serialize to memcache

Required Methods

Implementations on Foreign Types

impl<'a, W: Write> ToMemcacheValue<W> for &'a [u8]
[src]

impl<W: Write> ToMemcacheValue<W> for String
[src]

impl<'a, W: Write> ToMemcacheValue<W> for &'a str
[src]

impl<W: Write> ToMemcacheValue<W> for bool
[src]

impl<W: Write> ToMemcacheValue<W> for u8
[src]

impl<W: Write> ToMemcacheValue<W> for u16
[src]

impl<W: Write> ToMemcacheValue<W> for u32
[src]

impl<W: Write> ToMemcacheValue<W> for u64
[src]

impl<W: Write> ToMemcacheValue<W> for i8
[src]

impl<W: Write> ToMemcacheValue<W> for i16
[src]

impl<W: Write> ToMemcacheValue<W> for i32
[src]

impl<W: Write> ToMemcacheValue<W> for i64
[src]

impl<W: Write> ToMemcacheValue<W> for f32
[src]

impl<W: Write> ToMemcacheValue<W> for f64
[src]

Implementors