[−][src]Enum sqlany_extfnapi::ExtFnValue
Variants
Null(SqlDataType)
Inline(RawExtFnValue)
Fields of Multipart
Implementations
impl ExtFnValue
[src]
pub fn to_byte_cursor<'a>(self) -> impl ExtFnValueCursor<Item = [u8]>
[src]
Return a value cursor for $type
pub fn to_opt_byte_cursor<'a>(
self
) -> Option<impl ExtFnValueCursor<Item = [u8]>>
[src]
self
) -> Option<impl ExtFnValueCursor<Item = [u8]>>
Return a potentially nullable value cursor for $type
impl ExtFnValue
[src]
pub fn to_str_cursor<'a>(self) -> impl ExtFnValueCursor<Item = str>
[src]
Return a value cursor for $type
pub fn to_opt_str_cursor<'a>(self) -> Option<impl ExtFnValueCursor<Item = str>>
[src]
Return a potentially nullable value cursor for $type
impl ExtFnValue
[src]
pub fn is_null(&self) -> bool
[src]
pub fn kind(&self) -> SqlDataTypeKind
[src]
pub fn data_type(&self) -> SqlDataType
[src]
pub fn len(&self) -> usize
[src]
impl ExtFnValue
[src]
pub fn to_u8(self) -> Result<u8, Error>
[src]
pub fn to_opt_u8(self) -> Result<Option<u8>, Error>
[src]
impl ExtFnValue
[src]
pub fn to_u16(self) -> Result<u16, Error>
[src]
pub fn to_opt_u16(self) -> Result<Option<u16>, Error>
[src]
impl ExtFnValue
[src]
pub fn to_i16(self) -> Result<i16, Error>
[src]
pub fn to_opt_i16(self) -> Result<Option<i16>, Error>
[src]
impl ExtFnValue
[src]
pub fn to_u32(self) -> Result<u32, Error>
[src]
pub fn to_opt_u32(self) -> Result<Option<u32>, Error>
[src]
impl ExtFnValue
[src]
pub fn to_i32(self) -> Result<i32, Error>
[src]
pub fn to_opt_i32(self) -> Result<Option<i32>, Error>
[src]
impl ExtFnValue
[src]
pub fn to_u64(self) -> Result<u64, Error>
[src]
pub fn to_opt_u64(self) -> Result<Option<u64>, Error>
[src]
impl ExtFnValue
[src]
pub fn to_i64(self) -> Result<i64, Error>
[src]
pub fn to_opt_i64(self) -> Result<Option<i64>, Error>
[src]
Trait Implementations
impl Debug for ExtFnValue
[src]
impl TryFrom<ExtFnValue> for u8
[src]
type Error = Error
The type returned in the event of a conversion error.
fn try_from(value: ExtFnValue) -> Result<u8, Self::Error>
[src]
impl TryFrom<ExtFnValue> for Option<u8>
[src]
type Error = Error
The type returned in the event of a conversion error.
fn try_from(value: ExtFnValue) -> Result<Option<u8>, Self::Error>
[src]
impl TryFrom<ExtFnValue> for u64
[src]
type Error = Error
The type returned in the event of a conversion error.
fn try_from(value: ExtFnValue) -> Result<u64, Self::Error>
[src]
impl TryFrom<ExtFnValue> for Option<u64>
[src]
type Error = Error
The type returned in the event of a conversion error.
fn try_from(value: ExtFnValue) -> Result<Option<u64>, Self::Error>
[src]
impl TryFrom<ExtFnValue> for i64
[src]
type Error = Error
The type returned in the event of a conversion error.
fn try_from(value: ExtFnValue) -> Result<i64, Self::Error>
[src]
impl TryFrom<ExtFnValue> for Option<i64>
[src]
type Error = Error
The type returned in the event of a conversion error.
fn try_from(value: ExtFnValue) -> Result<Option<i64>, Self::Error>
[src]
impl TryFrom<ExtFnValue> for u16
[src]
type Error = Error
The type returned in the event of a conversion error.
fn try_from(value: ExtFnValue) -> Result<u16, Self::Error>
[src]
impl TryFrom<ExtFnValue> for Option<u16>
[src]
type Error = Error
The type returned in the event of a conversion error.
fn try_from(value: ExtFnValue) -> Result<Option<u16>, Self::Error>
[src]
impl TryFrom<ExtFnValue> for i16
[src]
type Error = Error
The type returned in the event of a conversion error.
fn try_from(value: ExtFnValue) -> Result<i16, Self::Error>
[src]
impl TryFrom<ExtFnValue> for Option<i16>
[src]
type Error = Error
The type returned in the event of a conversion error.
fn try_from(value: ExtFnValue) -> Result<Option<i16>, Self::Error>
[src]
impl TryFrom<ExtFnValue> for u32
[src]
type Error = Error
The type returned in the event of a conversion error.
fn try_from(value: ExtFnValue) -> Result<u32, Self::Error>
[src]
impl TryFrom<ExtFnValue> for Option<u32>
[src]
type Error = Error
The type returned in the event of a conversion error.
fn try_from(value: ExtFnValue) -> Result<Option<u32>, Self::Error>
[src]
impl TryFrom<ExtFnValue> for i32
[src]
type Error = Error
The type returned in the event of a conversion error.
fn try_from(value: ExtFnValue) -> Result<i32, Self::Error>
[src]
impl TryFrom<ExtFnValue> for Option<i32>
[src]
Auto Trait Implementations
impl RefUnwindSafe for ExtFnValue
impl !Send for ExtFnValue
impl !Sync for ExtFnValue
impl Unpin for ExtFnValue
impl UnwindSafe for ExtFnValue
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,