[][src]Trait slack_morphism::SlackApiResponseScroller

pub trait SlackApiResponseScroller<SCHC> where
    SCHC: SlackClientHttpConnector + Send + Sync
{ type ResponseType; type CursorType; type ResponseItemType; pub fn has_next(&self) -> bool;
pub fn next_mut<'a, 's>(
        &'a mut self,
        session: &'a SlackClientSession<'s, SCHC>
    ) -> BoxFuture<'a, ClientResult<Self::ResponseType>>;
pub fn to_stream<'a, 's>(
        &'a self,
        session: &'a SlackClientSession<'s, SCHC>
    ) -> BoxStream<'a, ClientResult<Self::ResponseType>>;
pub fn to_items_stream<'a, 's>(
        &'a self,
        session: &'a SlackClientSession<'s, SCHC>
    ) -> BoxStream<'a, ClientResult<Vec<Self::ResponseItemType>>>; }

Associated Types

Loading content...

Required methods

pub fn has_next(&self) -> bool[src]

pub fn next_mut<'a, 's>(
    &'a mut self,
    session: &'a SlackClientSession<'s, SCHC>
) -> BoxFuture<'a, ClientResult<Self::ResponseType>>
[src]

pub fn to_stream<'a, 's>(
    &'a self,
    session: &'a SlackClientSession<'s, SCHC>
) -> BoxStream<'a, ClientResult<Self::ResponseType>>
[src]

pub fn to_items_stream<'a, 's>(
    &'a self,
    session: &'a SlackClientSession<'s, SCHC>
) -> BoxStream<'a, ClientResult<Vec<Self::ResponseItemType>>>
[src]

Loading content...

Implementors

impl<RQ, RS, CT, RIT, SCHC> SlackApiResponseScroller<SCHC> for SlackApiResponseScrollerState<RQ, RS, CT, RIT, SCHC> where
    RQ: SlackApiScrollableRequest<SCHC, ResponseType = RS, CursorType = CT, ResponseItemType = RIT> + Send + Sync + Clone,
    RS: SlackApiScrollableResponse<CursorType = CT, ResponseItemType = RIT> + Send + Sync + Clone,
    CT: Send + Sync + Clone,
    RIT: Send + Sync + Clone,
    SCHC: SlackClientHttpConnector + Send + Sync + Clone
[src]

type ResponseType = RS

type CursorType = CT

type ResponseItemType = RIT

Loading content...