pub trait DeleteFolder: Send + Sync {
// Required method
fn delete_folder<'life0, 'life1, 'async_trait>(
&'life0 self,
folder: &'life1 str,
) -> Pin<Box<dyn Future<Output = AnyResult<()>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
}
Required Methods§
Sourcefn delete_folder<'life0, 'life1, 'async_trait>(
&'life0 self,
folder: &'life1 str,
) -> Pin<Box<dyn Future<Output = AnyResult<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn delete_folder<'life0, 'life1, 'async_trait>(
&'life0 self,
folder: &'life1 str,
) -> Pin<Box<dyn Future<Output = AnyResult<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Definitely delete the given folder.
Manipulate with caution: all emails contained in the given folder are also definitely deleted.