Skip to main content

UsersPages

Trait UsersPages 

Source
trait UsersPages: Send + Sync {
    // Required method
    fn users_page<'life0, 'life1, 'async_trait>(
        &'life0 self,
        cursor: Option<&'life1 str>,
    ) -> Pin<Box<dyn Future<Output = Result<UsersPage, SlackError>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;
}
Expand description

One page of users.list. The walk is split from the HTTP client so its page cap is reachable from a double that never stops handing back a cursor.

Required Methods§

Source

fn users_page<'life0, 'life1, 'async_trait>( &'life0 self, cursor: Option<&'life1 str>, ) -> Pin<Box<dyn Future<Output = Result<UsersPage, SlackError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§