[−][src]Trait memcache::ToMemcacheValue
determine how the value is serialize to memcache
Required Methods
fn get_flags(&self) -> u32
fn get_length(&self) -> usize
fn write_to(&self, stream: &mut W) -> Result<()>
Implementations on Foreign Types
impl<'a, W: Write> ToMemcacheValue<W> for &'a [u8]
[src]
impl<'a, W: Write> ToMemcacheValue<W> for &'a [u8]
fn get_flags(&self) -> u32
[src]
fn get_flags(&self) -> u32
fn get_length(&self) -> usize
[src]
fn get_length(&self) -> usize
fn write_to(&self, stream: &mut W) -> Result<()>
[src]
fn write_to(&self, stream: &mut W) -> Result<()>
impl<W: Write> ToMemcacheValue<W> for String
[src]
impl<W: Write> ToMemcacheValue<W> for String
fn get_flags(&self) -> u32
[src]
fn get_flags(&self) -> u32
fn get_length(&self) -> usize
[src]
fn get_length(&self) -> usize
fn write_to(&self, stream: &mut W) -> Result<()>
[src]
fn write_to(&self, stream: &mut W) -> Result<()>
impl<'a, W: Write> ToMemcacheValue<W> for &'a str
[src]
impl<'a, W: Write> ToMemcacheValue<W> for &'a str
fn get_flags(&self) -> u32
[src]
fn get_flags(&self) -> u32
fn get_length(&self) -> usize
[src]
fn get_length(&self) -> usize
fn write_to(&self, stream: &mut W) -> Result<()>
[src]
fn write_to(&self, stream: &mut W) -> Result<()>
impl<W: Write> ToMemcacheValue<W> for bool
[src]
impl<W: Write> ToMemcacheValue<W> for bool
fn get_flags(&self) -> u32
[src]
fn get_flags(&self) -> u32
fn get_length(&self) -> usize
[src]
fn get_length(&self) -> usize
fn write_to(&self, stream: &mut W) -> Result<()>
[src]
fn write_to(&self, stream: &mut W) -> Result<()>
impl<W: Write> ToMemcacheValue<W> for u8
[src]
impl<W: Write> ToMemcacheValue<W> for u8
fn get_flags(&self) -> u32
[src]
fn get_flags(&self) -> u32
fn get_length(&self) -> usize
[src]
fn get_length(&self) -> usize
fn write_to(&self, stream: &mut W) -> Result<()>
[src]
fn write_to(&self, stream: &mut W) -> Result<()>
impl<W: Write> ToMemcacheValue<W> for u16
[src]
impl<W: Write> ToMemcacheValue<W> for u16
fn get_flags(&self) -> u32
[src]
fn get_flags(&self) -> u32
fn get_length(&self) -> usize
[src]
fn get_length(&self) -> usize
fn write_to(&self, stream: &mut W) -> Result<()>
[src]
fn write_to(&self, stream: &mut W) -> Result<()>
impl<W: Write> ToMemcacheValue<W> for u32
[src]
impl<W: Write> ToMemcacheValue<W> for u32
fn get_flags(&self) -> u32
[src]
fn get_flags(&self) -> u32
fn get_length(&self) -> usize
[src]
fn get_length(&self) -> usize
fn write_to(&self, stream: &mut W) -> Result<()>
[src]
fn write_to(&self, stream: &mut W) -> Result<()>
impl<W: Write> ToMemcacheValue<W> for u64
[src]
impl<W: Write> ToMemcacheValue<W> for u64
fn get_flags(&self) -> u32
[src]
fn get_flags(&self) -> u32
fn get_length(&self) -> usize
[src]
fn get_length(&self) -> usize
fn write_to(&self, stream: &mut W) -> Result<()>
[src]
fn write_to(&self, stream: &mut W) -> Result<()>
impl<W: Write> ToMemcacheValue<W> for i8
[src]
impl<W: Write> ToMemcacheValue<W> for i8
fn get_flags(&self) -> u32
[src]
fn get_flags(&self) -> u32
fn get_length(&self) -> usize
[src]
fn get_length(&self) -> usize
fn write_to(&self, stream: &mut W) -> Result<()>
[src]
fn write_to(&self, stream: &mut W) -> Result<()>
impl<W: Write> ToMemcacheValue<W> for i16
[src]
impl<W: Write> ToMemcacheValue<W> for i16
fn get_flags(&self) -> u32
[src]
fn get_flags(&self) -> u32
fn get_length(&self) -> usize
[src]
fn get_length(&self) -> usize
fn write_to(&self, stream: &mut W) -> Result<()>
[src]
fn write_to(&self, stream: &mut W) -> Result<()>
impl<W: Write> ToMemcacheValue<W> for i32
[src]
impl<W: Write> ToMemcacheValue<W> for i32
fn get_flags(&self) -> u32
[src]
fn get_flags(&self) -> u32
fn get_length(&self) -> usize
[src]
fn get_length(&self) -> usize
fn write_to(&self, stream: &mut W) -> Result<()>
[src]
fn write_to(&self, stream: &mut W) -> Result<()>
impl<W: Write> ToMemcacheValue<W> for i64
[src]
impl<W: Write> ToMemcacheValue<W> for i64
fn get_flags(&self) -> u32
[src]
fn get_flags(&self) -> u32
fn get_length(&self) -> usize
[src]
fn get_length(&self) -> usize
fn write_to(&self, stream: &mut W) -> Result<()>
[src]
fn write_to(&self, stream: &mut W) -> Result<()>
impl<W: Write> ToMemcacheValue<W> for f32
[src]
impl<W: Write> ToMemcacheValue<W> for f32
fn get_flags(&self) -> u32
[src]
fn get_flags(&self) -> u32
fn get_length(&self) -> usize
[src]
fn get_length(&self) -> usize
fn write_to(&self, stream: &mut W) -> Result<()>
[src]
fn write_to(&self, stream: &mut W) -> Result<()>
impl<W: Write> ToMemcacheValue<W> for f64
[src]
impl<W: Write> ToMemcacheValue<W> for f64
fn get_flags(&self) -> u32
[src]
fn get_flags(&self) -> u32
fn get_length(&self) -> usize
[src]
fn get_length(&self) -> usize
fn write_to(&self, stream: &mut W) -> Result<()>
[src]
fn write_to(&self, stream: &mut W) -> Result<()>