Trait tarantool::proc::Return

source ·
pub trait Return: Sized {
    // Required method
    fn ret(self, ctx: FunctionCtx) -> c_int;
}

Required Methods§

source

fn ret(self, ctx: FunctionCtx) -> c_int

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl Return for &str
where Self: Serialize,

source§

fn ret(self, ctx: FunctionCtx) -> c_int

source§

impl Return for &CStr
where Self: Serialize,

source§

fn ret(self, ctx: FunctionCtx) -> c_int

source§

impl Return for bool
where Self: Serialize,

source§

fn ret(self, ctx: FunctionCtx) -> c_int

source§

impl Return for f32
where Self: Serialize,

source§

fn ret(self, ctx: FunctionCtx) -> c_int

source§

impl Return for f64
where Self: Serialize,

source§

fn ret(self, ctx: FunctionCtx) -> c_int

source§

impl Return for i8
where Self: Serialize,

source§

fn ret(self, ctx: FunctionCtx) -> c_int

source§

impl Return for i16
where Self: Serialize,

source§

fn ret(self, ctx: FunctionCtx) -> c_int

source§

impl Return for i32
where Self: Serialize,

source§

fn ret(self, ctx: FunctionCtx) -> c_int

source§

impl Return for i64
where Self: Serialize,

source§

fn ret(self, ctx: FunctionCtx) -> c_int

source§

impl Return for i128
where Self: Serialize,

source§

fn ret(self, ctx: FunctionCtx) -> c_int

source§

impl Return for isize
where Self: Serialize,

source§

fn ret(self, ctx: FunctionCtx) -> c_int

source§

impl Return for u8
where Self: Serialize,

source§

fn ret(self, ctx: FunctionCtx) -> c_int

source§

impl Return for u16
where Self: Serialize,

source§

fn ret(self, ctx: FunctionCtx) -> c_int

source§

impl Return for u32
where Self: Serialize,

source§

fn ret(self, ctx: FunctionCtx) -> c_int

source§

impl Return for u64
where Self: Serialize,

source§

fn ret(self, ctx: FunctionCtx) -> c_int

source§

impl Return for u128
where Self: Serialize,

source§

fn ret(self, ctx: FunctionCtx) -> c_int

source§

impl Return for ()

source§

fn ret(self, _: FunctionCtx) -> c_int

source§

impl Return for usize
where Self: Serialize,

source§

fn ret(self, ctx: FunctionCtx) -> c_int

source§

impl Return for CString
where Self: Serialize,

source§

fn ret(self, ctx: FunctionCtx) -> c_int

source§

impl Return for String
where Self: Serialize,

source§

fn ret(self, ctx: FunctionCtx) -> c_int

source§

impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q> Return for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q)
where Self: Serialize,

source§

fn ret(self, ctx: FunctionCtx) -> c_int

source§

impl<B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q> Return for (B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q)
where Self: Serialize,

source§

fn ret(self, ctx: FunctionCtx) -> c_int

source§

impl<C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q> Return for (C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q)
where Self: Serialize,

source§

fn ret(self, ctx: FunctionCtx) -> c_int

source§

impl<D, E, F, G, H, I, J, K, L, M, N, O, P, Q> Return for (D, E, F, G, H, I, J, K, L, M, N, O, P, Q)
where Self: Serialize,

source§

fn ret(self, ctx: FunctionCtx) -> c_int

source§

impl<E> Return for Result<&RawBytes, E>
where E: Display,

source§

fn ret(self, ctx: FunctionCtx) -> c_int

source§

impl<E> Return for Result<RawByteBuf, E>
where E: Display,

source§

fn ret(self, ctx: FunctionCtx) -> c_int

source§

impl<E> Return for Result<Tuple, E>
where E: Display,

source§

fn ret(self, ctx: FunctionCtx) -> c_int

source§

impl<E> Return for Result<TupleBuffer, E>
where E: Display,

source§

fn ret(self, ctx: FunctionCtx) -> c_int

source§

impl<E, F, G, H, I, J, K, L, M, N, O, P, Q> Return for (E, F, G, H, I, J, K, L, M, N, O, P, Q)
where Self: Serialize,

source§

fn ret(self, ctx: FunctionCtx) -> c_int

source§

impl<F, G, H, I, J, K, L, M, N, O, P, Q> Return for (F, G, H, I, J, K, L, M, N, O, P, Q)
where Self: Serialize,

source§

fn ret(self, ctx: FunctionCtx) -> c_int

source§

impl<G, H, I, J, K, L, M, N, O, P, Q> Return for (G, H, I, J, K, L, M, N, O, P, Q)
where Self: Serialize,

source§

fn ret(self, ctx: FunctionCtx) -> c_int

source§

impl<H, I, J, K, L, M, N, O, P, Q> Return for (H, I, J, K, L, M, N, O, P, Q)
where Self: Serialize,

source§

fn ret(self, ctx: FunctionCtx) -> c_int

source§

impl<I, J, K, L, M, N, O, P, Q> Return for (I, J, K, L, M, N, O, P, Q)
where Self: Serialize,

source§

fn ret(self, ctx: FunctionCtx) -> c_int

source§

impl<J, K, L, M, N, O, P, Q> Return for (J, K, L, M, N, O, P, Q)
where Self: Serialize,

source§

fn ret(self, ctx: FunctionCtx) -> c_int

source§

impl<K> Return for BTreeSet<K>
where Self: Serialize,

source§

fn ret(self, ctx: FunctionCtx) -> c_int

source§

impl<K> Return for HashSet<K>
where Self: Serialize,

source§

fn ret(self, ctx: FunctionCtx) -> c_int

source§

impl<K, L, M, N, O, P, Q> Return for (K, L, M, N, O, P, Q)
where Self: Serialize,

source§

fn ret(self, ctx: FunctionCtx) -> c_int

source§

impl<K, V> Return for BTreeMap<K, V>
where Self: Serialize,

source§

fn ret(self, ctx: FunctionCtx) -> c_int

source§

impl<K, V> Return for HashMap<K, V>
where Self: Serialize,

source§

fn ret(self, ctx: FunctionCtx) -> c_int

source§

impl<L, M, N, O, P, Q> Return for (L, M, N, O, P, Q)
where Self: Serialize,

source§

fn ret(self, ctx: FunctionCtx) -> c_int

source§

impl<M, N, O, P, Q> Return for (M, N, O, P, Q)
where Self: Serialize,

source§

fn ret(self, ctx: FunctionCtx) -> c_int

source§

impl<N, O, P, Q> Return for (N, O, P, Q)
where Self: Serialize,

source§

fn ret(self, ctx: FunctionCtx) -> c_int

source§

impl<O, E> Return for Result<O, E>
where O: Serialize, E: Display,

source§

fn ret(self, ctx: FunctionCtx) -> c_int

source§

impl<O, P, Q> Return for (O, P, Q)
where Self: Serialize,

source§

fn ret(self, ctx: FunctionCtx) -> c_int

source§

impl<P, Q> Return for (P, Q)
where Self: Serialize,

source§

fn ret(self, ctx: FunctionCtx) -> c_int

source§

impl<Q> Return for (Q,)
where Self: Serialize,

source§

fn ret(self, ctx: FunctionCtx) -> c_int

source§

impl<V> Return for &[V]
where Self: Serialize,

source§

fn ret(self, ctx: FunctionCtx) -> c_int

source§

impl<V> Return for Option<V>
where Self: Serialize,

source§

fn ret(self, ctx: FunctionCtx) -> c_int

source§

impl<V> Return for Vec<V>
where Self: Serialize,

source§

fn ret(self, ctx: FunctionCtx) -> c_int

source§

impl<V, const N: usize> Return for [V; N]
where Self: Serialize,

source§

fn ret(self, ctx: FunctionCtx) -> c_int

Implementors§