#[non_exhaustive]#[repr(C)]pub enum Item_result {
INVALID_RESULT = -1,
STRING_RESULT = 0,
REAL_RESULT = 1,
INT_RESULT = 2,
ROW_RESULT = 3,
DECIMAL_RESULT = 4,
}Expand description
Type of the user defined function return slot and arguments
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
INVALID_RESULT = -1
Invalid value (not valid for UDFs)
STRING_RESULT = 0
Value representing a string (char *)
REAL_RESULT = 1
Value representing a real (double)
INT_RESULT = 2
Value representing an int (long long)
ROW_RESULT = 3
Value representing a row (not valid for UDFs)
DECIMAL_RESULT = 4
Value representing a decimal (char *)
Trait Implementations§
Source§impl Clone for Item_result
impl Clone for Item_result
Source§fn clone(&self) -> Item_result
fn clone(&self) -> Item_result
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for Item_result
impl Debug for Item_result
Source§impl Hash for Item_result
impl Hash for Item_result
Source§impl PartialEq for Item_result
impl PartialEq for Item_result
Source§impl TryFrom<i32> for Item_result
impl TryFrom<i32> for Item_result
impl Copy for Item_result
impl Eq for Item_result
impl StructuralPartialEq for Item_result
Auto Trait Implementations§
impl Freeze for Item_result
impl RefUnwindSafe for Item_result
impl Send for Item_result
impl Sync for Item_result
impl Unpin for Item_result
impl UnwindSafe for Item_result
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more