Trait tarantool::tuple::Encode

source ·
pub trait Encode: Serialize {
    // Provided method
    fn encode(&self, w: &mut impl Write) -> Result<()> { ... }
}
Expand description

Encode Types implementing this trait can be serialized into a valid tarantool tuple (msgpack array).

Provided Methods§

source

fn encode(&self, w: &mut impl Write) -> Result<()>

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl Encode for ()

source§

fn encode(&self, w: &mut impl Write) -> Result<()>

source§

impl<'a, T> Encode for &'a T
where T: Encode,

source§

fn encode(&self, w: &mut impl Write) -> Result<()>

source§

impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P> Encode for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P)

source§

impl<B, C, D, E, F, G, H, I, J, K, L, M, N, O, P> Encode for (B, C, D, E, F, G, H, I, J, K, L, M, N, O, P)

source§

impl<C, D, E, F, G, H, I, J, K, L, M, N, O, P> Encode for (C, D, E, F, G, H, I, J, K, L, M, N, O, P)

source§

impl<D, E, F, G, H, I, J, K, L, M, N, O, P> Encode for (D, E, F, G, H, I, J, K, L, M, N, O, P)

source§

impl<E, F, G, H, I, J, K, L, M, N, O, P> Encode for (E, F, G, H, I, J, K, L, M, N, O, P)

source§

impl<F, G, H, I, J, K, L, M, N, O, P> Encode for (F, G, H, I, J, K, L, M, N, O, P)

source§

impl<G, H, I, J, K, L, M, N, O, P> Encode for (G, H, I, J, K, L, M, N, O, P)

source§

impl<H, I, J, K, L, M, N, O, P> Encode for (H, I, J, K, L, M, N, O, P)

source§

impl<I, J, K, L, M, N, O, P> Encode for (I, J, K, L, M, N, O, P)

source§

impl<J, K, L, M, N, O, P> Encode for (J, K, L, M, N, O, P)

source§

impl<K, L, M, N, O, P> Encode for (K, L, M, N, O, P)

source§

impl<L, M, N, O, P> Encode for (L, M, N, O, P)
where L: Serialize, M: Serialize, N: Serialize, O: Serialize, P: Serialize,

source§

impl<M, N, O, P> Encode for (M, N, O, P)
where M: Serialize, N: Serialize, O: Serialize, P: Serialize,

source§

impl<N, O, P> Encode for (N, O, P)
where N: Serialize, O: Serialize, P: Serialize,

source§

impl<O, P> Encode for (O, P)
where O: Serialize, P: Serialize,

source§

impl<P> Encode for (P,)
where P: Serialize,

source§

impl<T> Encode for [T; 0]
where T: Serialize,

source§

impl<T> Encode for [T; 1]
where T: Serialize,

source§

impl<T> Encode for [T; 2]
where T: Serialize,

source§

impl<T> Encode for [T; 3]
where T: Serialize,

source§

impl<T> Encode for [T; 4]
where T: Serialize,

source§

impl<T> Encode for [T; 5]
where T: Serialize,

source§

impl<T> Encode for [T; 6]
where T: Serialize,

source§

impl<T> Encode for [T; 7]
where T: Serialize,

source§

impl<T> Encode for [T; 8]
where T: Serialize,

source§

impl<T> Encode for [T; 9]
where T: Serialize,

source§

impl<T> Encode for [T; 10]
where T: Serialize,

source§

impl<T> Encode for [T; 11]
where T: Serialize,

source§

impl<T> Encode for [T; 12]
where T: Serialize,

source§

impl<T> Encode for [T; 13]
where T: Serialize,

source§

impl<T> Encode for [T; 14]
where T: Serialize,

source§

impl<T> Encode for [T; 15]
where T: Serialize,

source§

impl<T> Encode for [T; 16]
where T: Serialize,

source§

impl<T> Encode for [T; 17]
where T: Serialize,

source§

impl<T> Encode for [T; 18]
where T: Serialize,

source§

impl<T> Encode for [T; 19]
where T: Serialize,

source§

impl<T> Encode for [T; 20]
where T: Serialize,

source§

impl<T> Encode for [T; 21]
where T: Serialize,

source§

impl<T> Encode for [T; 22]
where T: Serialize,

source§

impl<T> Encode for [T; 23]
where T: Serialize,

source§

impl<T> Encode for [T; 24]
where T: Serialize,

source§

impl<T> Encode for [T; 25]
where T: Serialize,

source§

impl<T> Encode for [T; 26]
where T: Serialize,

source§

impl<T> Encode for [T; 27]
where T: Serialize,

source§

impl<T> Encode for [T; 28]
where T: Serialize,

source§

impl<T> Encode for [T; 29]
where T: Serialize,

source§

impl<T> Encode for [T; 30]
where T: Serialize,

source§

impl<T> Encode for [T; 31]
where T: Serialize,

source§

impl<T> Encode for [T; 32]
where T: Serialize,

source§

impl<T> Encode for [T]
where T: Serialize,

source§

impl<T> Encode for Vec<T>
where T: Serialize,

Implementors§

source§

impl Encode for tarantool::index::Metadata<'_>

source§

impl Encode for FuncMetadata

source§

impl Encode for tarantool::space::Metadata<'_>

source§

impl Encode for Privilege