Trait email::message::add_raw::AddRawMessage
source · pub trait AddRawMessage: Send + Sync {
// Required method
fn add_raw_message<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
folder: &'life1 str,
raw_msg: &'life2 [u8]
) -> Pin<Box<dyn Future<Output = Result<SingleId>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait;
}
Required Methods§
sourcefn add_raw_message<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
folder: &'life1 str,
raw_msg: &'life2 [u8]
) -> Pin<Box<dyn Future<Output = Result<SingleId>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn add_raw_message<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
folder: &'life1 str,
raw_msg: &'life2 [u8]
) -> Pin<Box<dyn Future<Output = Result<SingleId>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Add the given raw email message to the given folder.
This function returns the identifier of the newly added message to the folder.