Skip to main content

QueryResult

Struct QueryResult 

Source
pub struct QueryResult<L> {
    pub records: Vec<SelectResult<L>>,
    pub index_last_update_timestamp: i64,
    pub index_last_update_physical_offset: i64,
    pub buffer_total_size: i32,
    pub index_query_safe: bool,
    pub index_safe_physical_offset: i64,
    pub index_confirm_physical_offset: i64,
}
Expand description

Canonical neutral projection of a legacy key query result.

Fields§

§records: Vec<SelectResult<L>>

The records value.

§index_last_update_timestamp: i64

The index last update timestamp value.

§index_last_update_physical_offset: i64

The index last update physical offset value.

§buffer_total_size: i32

The buffer total size value.

§index_query_safe: bool

Whether index query safe.

§index_safe_physical_offset: i64

The index safe physical offset value.

§index_confirm_physical_offset: i64

The index confirm physical offset value.

Trait Implementations§

Source§

impl<L: Debug> Debug for QueryResult<L>

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<L> Default for QueryResult<L>

Source§

fn default() -> Self

Returns the “default value” for a type. Read more

Auto Trait Implementations§

§

impl<L> Freeze for QueryResult<L>
where Vec<SelectResult<L>>: Freeze,

§

impl<L> RefUnwindSafe for QueryResult<L>

§

impl<L> Send for QueryResult<L>
where Vec<SelectResult<L>>: Send,

§

impl<L> Sync for QueryResult<L>
where Vec<SelectResult<L>>: Sync,

§

impl<L> Unpin for QueryResult<L>
where Vec<SelectResult<L>>: Unpin,

§

impl<L> UnsafeUnpin for QueryResult<L>

§

impl<L> UnwindSafe for QueryResult<L>

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> Same for T

Source§

type Output = T

Should always be Self
Source§

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

Source§

type Error = !

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

fn try_from(value: U) -> Result<T, !>

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.