pub trait SlackApiScrollableRequest<SCHC>
where SCHC: SlackClientHttpConnector + Send + Sync + Clone + 'static,
{ type ResponseType; type CursorType; type ResponseItemType; // Required methods fn with_new_cursor(&self, new_cursor: Option<&Self::CursorType>) -> Self; fn scroll<'a, 's>( &'a self, session: &'a SlackClientSession<'s, SCHC> ) -> BoxFuture<'a, ClientResult<Self::ResponseType>>; // Provided method fn scroller<'a, 'b>( &'a self ) -> Box<dyn SlackApiResponseScroller<SCHC, ResponseType = Self::ResponseType, CursorType = Self::CursorType, ResponseItemType = Self::ResponseItemType> + Send + Sync + 'b> where Self: Send + Clone + Sync + 'b, Self::ResponseType: Send + Clone + Sync + SlackApiScrollableResponse<CursorType = Self::CursorType, ResponseItemType = Self::ResponseItemType> + 'b, Self::CursorType: Send + Clone + Sync + 'b, Self::ResponseItemType: Send + Clone + Sync + 'b { ... } }

Required Associated Types§

Required Methods§

source

fn with_new_cursor(&self, new_cursor: Option<&Self::CursorType>) -> Self

source

fn scroll<'a, 's>( &'a self, session: &'a SlackClientSession<'s, SCHC> ) -> BoxFuture<'a, ClientResult<Self::ResponseType>>

Provided Methods§

source

fn scroller<'a, 'b>( &'a self ) -> Box<dyn SlackApiResponseScroller<SCHC, ResponseType = Self::ResponseType, CursorType = Self::CursorType, ResponseItemType = Self::ResponseItemType> + Send + Sync + 'b>
where Self: Send + Clone + Sync + 'b, Self::ResponseType: Send + Clone + Sync + SlackApiScrollableResponse<CursorType = Self::CursorType, ResponseItemType = Self::ResponseItemType> + 'b, Self::CursorType: Send + Clone + Sync + 'b, Self::ResponseItemType: Send + Clone + Sync + 'b,

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<SCHC> SlackApiScrollableRequest<SCHC> for SlackApiChatScheduledMessagesListRequest
where SCHC: SlackClientHttpConnector + Send + Sync + Clone + 'static,

source§

impl<SCHC> SlackApiScrollableRequest<SCHC> for SlackApiConversationsHistoryRequest
where SCHC: SlackClientHttpConnector + Send + Sync + Clone + 'static,

source§

impl<SCHC> SlackApiScrollableRequest<SCHC> for SlackApiConversationsListRequest
where SCHC: SlackClientHttpConnector + Send + Sync + Clone + 'static,

source§

impl<SCHC> SlackApiScrollableRequest<SCHC> for SlackApiConversationsMembersRequest
where SCHC: SlackClientHttpConnector + Send + Sync + Clone + 'static,

source§

impl<SCHC> SlackApiScrollableRequest<SCHC> for SlackApiConversationsRepliesRequest
where SCHC: SlackClientHttpConnector + Send + Sync + Clone + 'static,

source§

impl<SCHC> SlackApiScrollableRequest<SCHC> for SlackApiUsersConversationsRequest
where SCHC: SlackClientHttpConnector + Send + Sync + Clone + 'static,

source§

impl<SCHC> SlackApiScrollableRequest<SCHC> for SlackApiUsersListRequest
where SCHC: SlackClientHttpConnector + Send + Sync + Clone + 'static,