pub enum ExtFnValue {
Null(SqlDataType),
Inline(RawExtFnValue),
Multipart {
idx: u32,
raw_value: RawExtFnValue,
total_len: u32,
offset: u32,
api: ExtFnApi,
},
}
Variants§
Implementations§
Source§impl ExtFnValue
impl ExtFnValue
Sourcepub fn to_byte_cursor<'a>(self) -> impl ExtFnValueCursor<Item = [u8]>
pub fn to_byte_cursor<'a>(self) -> impl ExtFnValueCursor<Item = [u8]>
Return a value cursor for $type
Sourcepub fn to_opt_byte_cursor<'a>(
self,
) -> Option<impl ExtFnValueCursor<Item = [u8]>>
pub fn to_opt_byte_cursor<'a>( self, ) -> Option<impl ExtFnValueCursor<Item = [u8]>>
Return a potentially nullable value cursor for $type
Source§impl ExtFnValue
impl ExtFnValue
Sourcepub fn to_str_cursor<'a>(self) -> impl ExtFnValueCursor<Item = str>
pub fn to_str_cursor<'a>(self) -> impl ExtFnValueCursor<Item = str>
Return a value cursor for $type
Sourcepub fn to_opt_str_cursor<'a>(self) -> Option<impl ExtFnValueCursor<Item = str>>
pub fn to_opt_str_cursor<'a>(self) -> Option<impl ExtFnValueCursor<Item = str>>
Return a potentially nullable value cursor for $type
Source§impl ExtFnValue
impl ExtFnValue
Source§impl ExtFnValue
impl ExtFnValue
Source§impl ExtFnValue
impl ExtFnValue
Source§impl ExtFnValue
impl ExtFnValue
Source§impl ExtFnValue
impl ExtFnValue
Source§impl ExtFnValue
impl ExtFnValue
Source§impl ExtFnValue
impl ExtFnValue
Trait Implementations§
Source§impl Debug for ExtFnValue
impl Debug for ExtFnValue
Source§impl TryFrom<ExtFnValue> for i16
impl TryFrom<ExtFnValue> for i16
Source§impl TryFrom<ExtFnValue> for i32
impl TryFrom<ExtFnValue> for i32
Source§impl TryFrom<ExtFnValue> for i64
impl TryFrom<ExtFnValue> for i64
Source§impl TryFrom<ExtFnValue> for u16
impl TryFrom<ExtFnValue> for u16
Source§impl TryFrom<ExtFnValue> for u32
impl TryFrom<ExtFnValue> for u32
Source§impl TryFrom<ExtFnValue> for u64
impl TryFrom<ExtFnValue> for u64
Auto Trait Implementations§
impl Freeze for ExtFnValue
impl RefUnwindSafe for ExtFnValue
impl !Send for ExtFnValue
impl !Sync for ExtFnValue
impl Unpin for ExtFnValue
impl UnwindSafe for ExtFnValue
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