Struct cdrs_tokio::cluster::PagerState
source · pub struct PagerState { /* private fields */ }
Implementations§
source§impl PagerState
impl PagerState
pub fn new() -> Self
pub fn new_with_cursor(cursor: CBytes) -> Self
pub fn new_with_cursor_and_more_flag(cursor: CBytes, has_more: bool) -> Self
pub fn with_cursor(cursor: CBytes) -> Self
👎Deprecated: Use new_with_cursor().
pub fn with_cursor_and_more_flag(cursor: CBytes, has_more: bool) -> Self
👎Deprecated: Use new_with_cursor_and_more_flag().
pub fn has_more(&self) -> bool
pub fn cursor(&self) -> Option<CBytes>
pub fn into_cursor(self) -> Option<CBytes>
Trait Implementations§
source§impl Clone for PagerState
impl Clone for PagerState
source§fn clone(&self) -> PagerState
fn clone(&self) -> PagerState
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for PagerState
impl Debug for PagerState
source§impl Default for PagerState
impl Default for PagerState
source§fn default() -> PagerState
fn default() -> PagerState
Returns the “default value” for a type. Read more
source§impl PartialEq for PagerState
impl PartialEq for PagerState
source§fn eq(&self, other: &PagerState) -> bool
fn eq(&self, other: &PagerState) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for PagerState
impl StructuralPartialEq for PagerState
Auto Trait Implementations§
impl Freeze for PagerState
impl RefUnwindSafe for PagerState
impl Send for PagerState
impl Sync for PagerState
impl Unpin for PagerState
impl UnwindSafe for PagerState
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more