pub trait SlackApiResponseScroller<SCHC>{
type ResponseType;
type CursorType;
type ResponseItemType;
// Required methods
fn has_next(&self) -> bool;
fn next_mut<'a, 's>(
&'a mut self,
session: &'a SlackClientSession<'s, SCHC>,
) -> BoxFuture<'a, ClientResult<Self::ResponseType>>;
fn to_stream<'a, 's>(
&'a self,
session: &'a SlackClientSession<'s, SCHC>,
) -> BoxStream<'a, ClientResult<Self::ResponseType>>;
fn to_items_stream<'a, 's>(
&'a self,
session: &'a SlackClientSession<'s, SCHC>,
) -> BoxStream<'a, ClientResult<Vec<Self::ResponseItemType>>>;
}Required Associated Types§
Required Methods§
fn has_next(&self) -> bool
fn next_mut<'a, 's>( &'a mut self, session: &'a SlackClientSession<'s, SCHC>, ) -> BoxFuture<'a, ClientResult<Self::ResponseType>>
fn to_stream<'a, 's>( &'a self, session: &'a SlackClientSession<'s, SCHC>, ) -> BoxStream<'a, ClientResult<Self::ResponseType>>
fn to_items_stream<'a, 's>( &'a self, session: &'a SlackClientSession<'s, SCHC>, ) -> BoxStream<'a, ClientResult<Vec<Self::ResponseItemType>>>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".