#[repr(C)]
pub struct FunctionCtx { /* private fields */ }

Implementations

Return a Tuple from stored C procedure.

Returned Tuple is automatically reference counted by Tarantool.

  • tuple - a Tuple to return

Return MessagePack from a stored C procedure. The MessagePack is copied, so it is safe to free/reuse the passed arguments after the call.

MessagePack is not validated, for the sake of speed. It is expected to be a single encoded object. An attempt to encode and return multiple objects without wrapping them into an MP_ARRAY or MP_MAP is undefined behaviour.

  • value - value to be encoded to MessagePack

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.