#[non_exhaustive]pub enum PageFollowStop {
Exhausted,
MaxPages,
MaxItems,
RepeatedToken,
}Expand description
Why page following stopped.
Experimental: may change in a 0.x minor release.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Exhausted
Server reported no further page (has_next false or empty token).
MaxPages
MaxItems
RepeatedToken
Server repeated the same next_page_token (loop guard).
Trait Implementations§
Source§impl Clone for PageFollowStop
impl Clone for PageFollowStop
Source§impl Debug for PageFollowStop
impl Debug for PageFollowStop
impl Eq for PageFollowStop
Source§impl PartialEq for PageFollowStop
impl PartialEq for PageFollowStop
impl StructuralPartialEq for PageFollowStop
Auto Trait Implementations§
impl Forget for PageFollowStop
impl Freeze for PageFollowStop
impl Move for PageFollowStop
impl RefUnwindSafe for PageFollowStop
impl Send for PageFollowStop
impl Sync for PageFollowStop
impl Unpin for PageFollowStop
impl UnsafeUnpin for PageFollowStop
impl UnwindSafe for PageFollowStop
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