[][src]Struct tarantool_module::Tuple

pub struct Tuple { /* fields omitted */ }

Implementations

impl Tuple[src]

pub fn new_from_struct<T>(value: &T) -> Result<Self, Error> where
    T: AsTuple
[src]

Creates new tuple from value.

pub fn len(&self) -> u32[src]

Return the number of fields in tuple (the size of MsgPack Array).

pub fn size(&self) -> usize[src]

Return the number of bytes used to store internal tuple data (MsgPack Array).

pub fn into_struct<T>(self) -> Result<T, Error> where
    T: DeserializeOwned
[src]

Trait Implementations

impl Clone for Tuple[src]

impl Drop for Tuple[src]

Auto Trait Implementations

impl RefUnwindSafe for Tuple

impl !Send for Tuple

impl !Sync for Tuple

impl Unpin for Tuple

impl UnwindSafe for Tuple

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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.