[][src]Trait tarantool_module::AsTuple

pub trait AsTuple: Serialize {
    fn serialize_as_tuple(&self) -> Result<TupleBuffer, Error> { ... }
}

Must be implemented for types, which will be used with box access methods as data

Provided methods

fn serialize_as_tuple(&self) -> Result<TupleBuffer, Error>

Describes how object can be converted to Tuple.

Has default implementation, but can be overloaded for special cases

Loading content...

Implementations on Foreign Types

impl<T> AsTuple for (T,) where
    T: Serialize
[src]

impl<T> AsTuple for Vec<T> where
    T: Serialize
[src]

Loading content...

Implementors

Loading content...