pub struct FunctionInfo(_);

Implementations

Report that an error has occurred while executing the function.

Arguments
  • error: The error message

Gets the bind data set by BindInfo::set_bind_data during the bind.

Note that the bind data should be considered as read-only. For tracking state, use the init data instead.

Arguments
  • returns: The bind data object

Gets the init data set by InitInfo::set_init_data during the init.

Arguments
  • returns: The init data object

Retrieves the extra info of the function as set in TableFunction::set_extra_info

Arguments
  • returns: The extra info

Gets the thread-local init data set by InitInfo::set_init_data during the local_init.

Arguments
  • returns: The init data object

Trait Implementations

Formats the value using the given formatter. Read more
Converts to this type from the input type.

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.

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.