Trait tarantool_test::test_entrypoint::Return

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

Required Methods§

source

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

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl Return for &str
where &str: Serialize,

source§

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

source§

impl Return for &CStr
where &CStr: Serialize,

source§

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

source§

impl Return for bool
where bool: Serialize,

source§

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

source§

impl Return for f32
where f32: Serialize,

source§

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

source§

impl Return for f64
where f64: Serialize,

source§

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

source§

impl Return for i8
where i8: Serialize,

source§

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

source§

impl Return for i16
where i16: Serialize,

source§

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

source§

impl Return for i32
where i32: Serialize,

source§

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

source§

impl Return for i64
where i64: Serialize,

source§

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

source§

impl Return for i128
where i128: Serialize,

source§

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

source§

impl Return for isize

source§

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

source§

impl Return for u8
where u8: Serialize,

source§

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

source§

impl Return for u16
where u16: Serialize,

source§

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

source§

impl Return for u32
where u32: Serialize,

source§

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

source§

impl Return for u64
where u64: Serialize,

source§

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

source§

impl Return for u128
where u128: Serialize,

source§

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

source§

impl Return for ()

source§

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

source§

impl Return for usize

source§

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

source§

impl Return for CString

source§

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

source§

impl Return for String

source§

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

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)

source§

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

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)

source§

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

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)

source§

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

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)

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

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)

source§

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

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)

source§

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

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)

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

impl<L, M, N, O, P, Q> Return for (L, M, N, O, P, Q)

source§

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

source§

impl<M, N, O, P, Q> Return for (M, N, O, P, Q)

source§

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

source§

impl<N, O, P, Q> Return for (N, O, P, Q)

source§

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

source§

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

source§

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

source§

impl<O, P, Q> Return for (O, P, Q)

source§

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

source§

impl<P, Q> Return for (P, Q)

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

Implementors§