[][src]Struct cdrs_temp::cluster::SessionPager

pub struct SessionPager<'a, M: ManageConnection<Connection = RefCell<T>, Error = Error> + Sized, S: CDRSSession<'static, T, M> + 'a, T: CDRSTransport + 'static> { /* fields omitted */ }

Implementations

impl<'a, 'b: 'a, M: ManageConnection<Connection = RefCell<T>, Error = Error> + Sized, S: CDRSSession<'static, T, M>, T: CDRSTransport + 'static> SessionPager<'a, M, S, T>[src]

pub fn new(session: &'b S, page_size: i32) -> SessionPager<'a, M, S, T>[src]

pub fn query_with_pager_state<Q>(
    &'a mut self,
    query: Q,
    state: PagerState,
    qp: QueryParams
) -> QueryPager<'a, Q, SessionPager<'a, M, S, T>> where
    Q: ToString
[src]

pub fn query<Q>(
    &'a mut self,
    query: Q
) -> QueryPager<'a, Q, SessionPager<'a, M, S, T>> where
    Q: ToString
[src]

pub fn query_with_param<Q>(
    &'a mut self,
    query: Q,
    qp: QueryParams
) -> QueryPager<'a, Q, SessionPager<'a, M, S, T>> where
    Q: ToString
[src]

pub fn exec_with_pager_state(
    &'a mut self,
    query: &'a PreparedQuery,
    state: PagerState
) -> ExecPager<'a, SessionPager<'a, M, S, T>>
[src]

pub fn exec(
    &'a mut self,
    query: &'a PreparedQuery
) -> ExecPager<'a, SessionPager<'a, M, S, T>>
[src]

Auto Trait Implementations

impl<'a, M, S, T> RefUnwindSafe for SessionPager<'a, M, S, T> where
    M: RefUnwindSafe,
    S: RefUnwindSafe,
    T: RefUnwindSafe

impl<'a, M, S, T> Send for SessionPager<'a, M, S, T> where
    S: Sync

impl<'a, M, S, T> Sync for SessionPager<'a, M, S, T> where
    S: Sync

impl<'a, M, S, T> Unpin for SessionPager<'a, M, S, T>

impl<'a, M, S, T> UnwindSafe for SessionPager<'a, M, S, T> where
    M: RefUnwindSafe,
    S: RefUnwindSafe,
    T: RefUnwindSafe

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<T> Sealed<T> for T where
    T: ?Sized

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.