#[repr(i8)]pub enum ItemResult {
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§
INVALID_RESULT = -1
not valid for UDFs
STRING_RESULT = 0
char *
REAL_RESULT = 1
INT_RESULT = 2
double long long
ROW_RESULT = 3
not valid for UDFs
DECIMAL_RESULT = 4
char *, to be converted to/from a decimal
Trait Implementations§
Source§impl Clone for ItemResult
impl Clone for ItemResult
Source§fn clone(&self) -> ItemResult
fn clone(&self) -> ItemResult
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 ItemResult
impl Debug for ItemResult
Source§impl Hash for ItemResult
impl Hash for ItemResult
Source§impl PartialEq for ItemResult
impl PartialEq for ItemResult
Source§impl TryFrom<i8> for ItemResult
impl TryFrom<i8> for ItemResult
Source§type Error = UnknownItemResultType
type Error = UnknownItemResultType
The type returned in the event of a conversion error.
Source§fn try_from(value: i8) -> Result<ItemResult, <ItemResult as TryFrom<i8>>::Error>
fn try_from(value: i8) -> Result<ItemResult, <ItemResult as TryFrom<i8>>::Error>
Performs the conversion.
impl Copy for ItemResult
impl Eq for ItemResult
impl StructuralPartialEq for ItemResult
Auto Trait Implementations§
impl Freeze for ItemResult
impl RefUnwindSafe for ItemResult
impl Send for ItemResult
impl Sync for ItemResult
impl Unpin for ItemResult
impl UnwindSafe for ItemResult
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