Trait ThreadEnvelopes

Source
pub trait ThreadEnvelopes: Send + Sync {
    // Required method
    fn thread_envelopes<'life0, 'life1, 'async_trait>(
        &'life0 self,
        folder: &'life1 str,
        opts: ListEnvelopesOptions,
    ) -> Pin<Box<dyn Future<Output = AnyResult<ThreadedEnvelopes>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;

    // Provided method
    fn thread_envelope<'life0, 'life1, 'async_trait>(
        &'life0 self,
        _folder: &'life1 str,
        _id: SingleId,
        _opts: ListEnvelopesOptions,
    ) -> Pin<Box<dyn Future<Output = AnyResult<ThreadedEnvelopes>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait { ... }
}

Required Methods§

Source

fn thread_envelopes<'life0, 'life1, 'async_trait>( &'life0 self, folder: &'life1 str, opts: ListEnvelopesOptions, ) -> Pin<Box<dyn Future<Output = AnyResult<ThreadedEnvelopes>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Thread all available envelopes from the given folder matching the given pagination.

Provided Methods§

Source

fn thread_envelope<'life0, 'life1, 'async_trait>( &'life0 self, _folder: &'life1 str, _id: SingleId, _opts: ListEnvelopesOptions, ) -> Pin<Box<dyn Future<Output = AnyResult<ThreadedEnvelopes>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Implementors§