[][src]Enum dropshot::WhichPage

pub enum WhichPage<ScanParams, PageSelector> {
    First(ScanParams),
    Next(PageSelector),
}

Describes whether the client is beginning a new scan or resuming an existing one

In either case, this type provides access to consumer-defined parameters for the particular type of request. See PaginationParams for more information.

Variants

First(ScanParams)

Indicates that the client is beginning a new scan

ScanParams are the consumer-defined parameters for beginning a new scan (e.g., filters, sort options, etc.)

Next(PageSelector)

Indicates that the client is resuming a previous scan

PageSelector are the consumer-defined parameters for resuming a previous scan (e.g., any scan parameters, plus a marker to indicate the last result seen by the client).

Trait Implementations

impl<ScanParams: Debug, PageSelector: Debug> Debug for WhichPage<ScanParams, PageSelector>[src]

impl<ScanParams, PageSelector> JsonSchema for WhichPage<ScanParams, PageSelector> where
    ScanParams: JsonSchema
[src]

Auto Trait Implementations

impl<ScanParams, PageSelector> RefUnwindSafe for WhichPage<ScanParams, PageSelector> where
    PageSelector: RefUnwindSafe,
    ScanParams: RefUnwindSafe

impl<ScanParams, PageSelector> Send for WhichPage<ScanParams, PageSelector> where
    PageSelector: Send,
    ScanParams: Send

impl<ScanParams, PageSelector> Sync for WhichPage<ScanParams, PageSelector> where
    PageSelector: Sync,
    ScanParams: Sync

impl<ScanParams, PageSelector> Unpin for WhichPage<ScanParams, PageSelector> where
    PageSelector: Unpin,
    ScanParams: Unpin

impl<ScanParams, PageSelector> UnwindSafe for WhichPage<ScanParams, PageSelector> where
    PageSelector: UnwindSafe,
    ScanParams: UnwindSafe

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> SendSyncUnwindSafe for T where
    T: Send + Sync + UnwindSafe + ?Sized
[src]

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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,