[][src]Trait ignite_rs::WritableType

pub trait WritableType {
    fn write(&self, writer: &mut dyn Write) -> Result<()>;
fn size(&self) -> usize; }

Indicates that a type could be used as cache key/value. Used alongside ReadableType

Required methods

fn write(&self, writer: &mut dyn Write) -> Result<()>

fn size(&self) -> usize

Loading content...

Implementations on Foreign Types

impl WritableType for u8[src]

impl WritableType for u16[src]

impl WritableType for i16[src]

impl WritableType for i32[src]

impl WritableType for i64[src]

impl WritableType for f32[src]

impl WritableType for f64[src]

impl WritableType for bool[src]

impl WritableType for String[src]

impl WritableType for Vec<u8>[src]

impl WritableType for Vec<i16>[src]

impl WritableType for Vec<i32>[src]

impl WritableType for Vec<i64>[src]

impl WritableType for Vec<f32>[src]

impl WritableType for Vec<f64>[src]

impl WritableType for Vec<bool>[src]

impl WritableType for Vec<u16>[src]

impl<T: WritableType + ReadableType> WritableType for Vec<Option<T>>[src]

impl<T: WritableType> WritableType for Option<T>[src]

Loading content...

Implementors

impl WritableType for Enum[src]

Loading content...