Skip to main content

MoveMessages

Trait MoveMessages 

Source
pub trait MoveMessages: Send + Sync {
    // Required method
    fn move_messages<'life0, 'life1, 'life2, 'life3, 'async_trait>(
        &'life0 self,
        from_folder: &'life1 str,
        to_folder: &'life2 str,
        id: &'life3 Id,
    ) -> Pin<Box<dyn Future<Output = AnyResult<()>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait,
             'life2: 'async_trait,
             'life3: 'async_trait;
}

Required Methods§

Source

fn move_messages<'life0, 'life1, 'life2, 'life3, 'async_trait>( &'life0 self, from_folder: &'life1 str, to_folder: &'life2 str, id: &'life3 Id, ) -> Pin<Box<dyn Future<Output = AnyResult<()>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, 'life3: 'async_trait,

Move emails from the given folder to the given folder matching the given id.

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§