Trait tarantool::tuple::Decode

source ·
pub trait Decode<'de>: Sized {
    fn decode(data: &'de [u8]) -> Result<Self>;
}
Expand description

Decode Types implementing this trait can be decoded from msgpack.

Tuple also implements Decode with an implementation which just copies the bytes as is (and validates them).

Required Methods§

Implementors§