pub struct CassResult(_);
Expand description

The result of a query. A result object is read-only and is thread-safe to read or iterate over concurrently, since we do not bind any setters (e.g., set_metadata).

Implementations

Gets the number of rows for the specified result.

Gets the number of columns per row for the specified result.

Gets the column name at index for the specified result.

Gets the column type at index for the specified result.

Gets the column datatype at index for the specified result.

Gets the first row of the result.

Returns true if there are more pages.

Gets the statement’s paging state. This can be used to get the next page of data in a multi-page query, by using set_paging_state_token.

Returns:

  • Ok(None) if there are no more pages, and thus no paging state token.
  • `Ok(Some(Vec)) if there are more pages, and a paging state token.
  • Err(_) if there was an error getting the paging state token.

Creates a new iterator for the specified result. This can be used to iterate over rows in the result.

Trait Implementations

Formats the value using the given formatter. Read more

Formats the value using the given formatter. Read more

Executes the destructor for this type. Read more

The type of the elements being iterated over.

Which kind of iterator are we turning this into?

Creates an iterator from a value. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

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

Converts the given value to a String. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.