Struct ExtFnStrValues

Source
pub struct ExtFnStrValues<'a> { /* private fields */ }

Trait Implementations§

Source§

impl<'a> ExtFnValueCursor for ExtFnStrValues<'a>

Source§

type Item = str

The type presented by the cursor.
Source§

fn get(&self) -> Option<&Self::Item>

Returns the current value part. Read more
Source§

fn advance(&mut self) -> Result<(), Error>

Advances the cursor to the next value part if available. Read more
Source§

fn is_null(&self) -> bool

Returns if the data value is NULL
Source§

fn kind(&self) -> SqlDataTypeKind

Returns the actual catalog type for the argument
Source§

fn data_type(&self) -> SqlDataType

Returns the data type for the argument
Source§

fn len(&self) -> usize

Returns the total length for the argument
Source§

fn next(&mut self) -> Result<Option<&Self::Item>, Error>

Advances the cursor, returning the next value part if available.
Source§

fn for_each<F>(self, f: F) -> Result<(), Error>
where Self: Sized, F: FnMut(&Self::Item),

Calls a closure on each element of an iterator.
Source§

fn fold<F, U>(self, init: U, f: F) -> Result<U, Error>
where Self: Sized, F: FnMut(U, &Self::Item) -> U,

Consume the cursor, producing a single, final value.
Source§

fn collect<U>(self) -> Result<U, Error>
where Self: Sized, U: for<'s> Extend<&'s Self::Item> + Default,

Consume the cursor folding into the given Extend type

Auto Trait Implementations§

§

impl<'a> Freeze for ExtFnStrValues<'a>

§

impl<'a> RefUnwindSafe for ExtFnStrValues<'a>

§

impl<'a> !Send for ExtFnStrValues<'a>

§

impl<'a> !Sync for ExtFnStrValues<'a>

§

impl<'a> Unpin for ExtFnStrValues<'a>

§

impl<'a> UnwindSafe for ExtFnStrValues<'a>

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.