[][src]Struct mysql::ResultSet

pub struct ResultSet<'a, 'b, 'c, 'd, T: Protocol> { /* fields omitted */ }

Methods from Deref<Target = QueryResult<'a, 'b, 'c, T>>

pub fn affected_rows(&self) -> u64[src]

Returns the number of affected rows for the current result set.

pub fn last_insert_id(&self) -> Option<u64>[src]

Returns the last insert id for the current result set.

pub fn warnings(&self) -> u16[src]

Returns the warnings count for the current result set.

pub fn info_ref(&self) -> &[u8][src]

Info for the current result set.

Will be empty if not defined.

pub fn info_str(&self) -> Cow<str>[src]

Info for the current result set.

Will be empty if not defined.

pub fn columns(&self) -> SetColumns[src]

Returns columns of the current result rest.

Trait Implementations

impl<'a, 'b, 'c, 'd, T: Debug + Protocol> Debug for ResultSet<'a, 'b, 'c, 'd, T>[src]

impl<'a, 'b, 'c, '_, T: Protocol> Deref for ResultSet<'a, 'b, 'c, '_, T>[src]

type Target = QueryResult<'a, 'b, 'c, T>

The resulting type after dereferencing.

impl<'_, '_, '_, '_, T: Protocol> Drop for ResultSet<'_, '_, '_, '_, T>[src]

impl<'_, '_, '_, '_, T: Protocol> Iterator for ResultSet<'_, '_, '_, '_, T>[src]

type Item = Result<Row>

The type of the elements being iterated over.

Auto Trait Implementations

impl<'a, 'b, 'c, 'd, T> !RefUnwindSafe for ResultSet<'a, 'b, 'c, 'd, T>

impl<'a, 'b, 'c, 'd, T> Send for ResultSet<'a, 'b, 'c, 'd, T>

impl<'a, 'b, 'c, 'd, T> Sync for ResultSet<'a, 'b, 'c, 'd, T>

impl<'a, 'b, 'c, 'd, T> Unpin for ResultSet<'a, 'b, 'c, 'd, T> where
    'a: 'd,
    'b: 'd,
    'c: 'd, 

impl<'a, 'b, 'c, 'd, T> !UnwindSafe for ResultSet<'a, 'b, 'c, 'd, T>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<I> IntoIterator for I where
    I: Iterator
[src]

type Item = <I as Iterator>::Item

The type of the elements being iterated over.

type IntoIter = I

Which kind of iterator are we turning this into?

impl<I> IteratorRandom for I where
    I: Iterator
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,