pub struct EomActions { /* private fields */ }Expand description
End-of-message actions.
Trait Implementations§
Source§impl ContextActions for EomActions
impl ContextActions for EomActions
Source§fn add_header<'cx, 'k, 'v, 'async_trait>(
&'cx self,
name: impl 'async_trait + IntoCString + Send + 'k,
value: impl 'async_trait + IntoCString + Send + 'v,
) -> Pin<Box<dyn Future<Output = Result<(), ActionError>> + Send + 'async_trait>>where
Self: 'async_trait,
'cx: 'async_trait,
'k: 'async_trait,
'v: 'async_trait,
fn add_header<'cx, 'k, 'v, 'async_trait>(
&'cx self,
name: impl 'async_trait + IntoCString + Send + 'k,
value: impl 'async_trait + IntoCString + Send + 'v,
) -> Pin<Box<dyn Future<Output = Result<(), ActionError>> + Send + 'async_trait>>where
Self: 'async_trait,
'cx: 'async_trait,
'k: 'async_trait,
'v: 'async_trait,
Adds a header. Read more
Source§fn insert_header<'cx, 'k, 'v, 'async_trait>(
&'cx self,
index: i32,
name: impl 'async_trait + IntoCString + Send + 'k,
value: impl 'async_trait + IntoCString + Send + 'v,
) -> Pin<Box<dyn Future<Output = Result<(), ActionError>> + Send + 'async_trait>>where
Self: 'async_trait,
'cx: 'async_trait,
'k: 'async_trait,
'v: 'async_trait,
fn insert_header<'cx, 'k, 'v, 'async_trait>(
&'cx self,
index: i32,
name: impl 'async_trait + IntoCString + Send + 'k,
value: impl 'async_trait + IntoCString + Send + 'v,
) -> Pin<Box<dyn Future<Output = Result<(), ActionError>> + Send + 'async_trait>>where
Self: 'async_trait,
'cx: 'async_trait,
'k: 'async_trait,
'v: 'async_trait,
Inserts a header at the given index. Read more
Source§fn change_header<'cx, 'k, 'v, 'async_trait>(
&'cx self,
name: impl 'async_trait + IntoCString + Send + 'k,
index: i32,
value: Option<impl 'async_trait + IntoCString + Send + 'v>,
) -> Pin<Box<dyn Future<Output = Result<(), ActionError>> + Send + 'async_trait>>where
Self: 'async_trait,
'cx: 'async_trait,
'k: 'async_trait,
'v: 'async_trait,
fn change_header<'cx, 'k, 'v, 'async_trait>(
&'cx self,
name: impl 'async_trait + IntoCString + Send + 'k,
index: i32,
value: Option<impl 'async_trait + IntoCString + Send + 'v>,
) -> Pin<Box<dyn Future<Output = Result<(), ActionError>> + Send + 'async_trait>>where
Self: 'async_trait,
'cx: 'async_trait,
'k: 'async_trait,
'v: 'async_trait,
Replaces or deletes the header at the given index. Read more
Source§fn change_sender<'cx, 'a, 'b, 'async_trait>(
&'cx self,
mail: impl 'async_trait + IntoCString + Send + 'a,
args: Option<impl 'async_trait + IntoCString + Send + 'b>,
) -> Pin<Box<dyn Future<Output = Result<(), ActionError>> + Send + 'async_trait>>where
Self: 'async_trait,
'cx: 'async_trait,
'a: 'async_trait,
'b: 'async_trait,
fn change_sender<'cx, 'a, 'b, 'async_trait>(
&'cx self,
mail: impl 'async_trait + IntoCString + Send + 'a,
args: Option<impl 'async_trait + IntoCString + Send + 'b>,
) -> Pin<Box<dyn Future<Output = Result<(), ActionError>> + Send + 'async_trait>>where
Self: 'async_trait,
'cx: 'async_trait,
'a: 'async_trait,
'b: 'async_trait,
Replaces the envelope sender, with optional ESMTP arguments. Read more
Source§fn add_recipient<'cx, 'a, 'async_trait>(
&'cx self,
rcpt: impl 'async_trait + IntoCString + Send + 'a,
) -> Pin<Box<dyn Future<Output = Result<(), ActionError>> + Send + 'async_trait>>where
Self: 'async_trait,
'cx: 'async_trait,
'a: 'async_trait,
fn add_recipient<'cx, 'a, 'async_trait>(
&'cx self,
rcpt: impl 'async_trait + IntoCString + Send + 'a,
) -> Pin<Box<dyn Future<Output = Result<(), ActionError>> + Send + 'async_trait>>where
Self: 'async_trait,
'cx: 'async_trait,
'a: 'async_trait,
Adds an envelope recipient. Read more
Source§fn add_recipient_ext<'cx, 'a, 'b, 'async_trait>(
&'cx self,
rcpt: impl 'async_trait + IntoCString + Send + 'a,
args: Option<impl 'async_trait + IntoCString + Send + 'b>,
) -> Pin<Box<dyn Future<Output = Result<(), ActionError>> + Send + 'async_trait>>where
Self: 'async_trait,
'cx: 'async_trait,
'a: 'async_trait,
'b: 'async_trait,
fn add_recipient_ext<'cx, 'a, 'b, 'async_trait>(
&'cx self,
rcpt: impl 'async_trait + IntoCString + Send + 'a,
args: Option<impl 'async_trait + IntoCString + Send + 'b>,
) -> Pin<Box<dyn Future<Output = Result<(), ActionError>> + Send + 'async_trait>>where
Self: 'async_trait,
'cx: 'async_trait,
'a: 'async_trait,
'b: 'async_trait,
Adds an envelope recipient, with ESMTP arguments. Read more
Source§fn delete_recipient<'cx, 'a, 'async_trait>(
&'cx self,
rcpt: impl 'async_trait + IntoCString + Send + 'a,
) -> Pin<Box<dyn Future<Output = Result<(), ActionError>> + Send + 'async_trait>>where
Self: 'async_trait,
'cx: 'async_trait,
'a: 'async_trait,
fn delete_recipient<'cx, 'a, 'async_trait>(
&'cx self,
rcpt: impl 'async_trait + IntoCString + Send + 'a,
) -> Pin<Box<dyn Future<Output = Result<(), ActionError>> + Send + 'async_trait>>where
Self: 'async_trait,
'cx: 'async_trait,
'a: 'async_trait,
Removes an envelope recipient. Read more
Source§fn replace_body<'cx, 'a, 'async_trait>(
&'cx self,
chunk: &'a [u8],
) -> Pin<Box<dyn Future<Output = Result<(), ActionError>> + Send + 'async_trait>>where
Self: 'async_trait,
'cx: 'async_trait,
'a: 'async_trait,
fn replace_body<'cx, 'a, 'async_trait>(
&'cx self,
chunk: &'a [u8],
) -> Pin<Box<dyn Future<Output = Result<(), ActionError>> + Send + 'async_trait>>where
Self: 'async_trait,
'cx: 'async_trait,
'a: 'async_trait,
Replaces the message body. Read more
Source§fn progress<'cx, 'async_trait>(
&'cx self,
) -> Pin<Box<dyn Future<Output = Result<(), ActionError>> + Send + 'async_trait>>where
Self: 'async_trait,
'cx: 'async_trait,
fn progress<'cx, 'async_trait>(
&'cx self,
) -> Pin<Box<dyn Future<Output = Result<(), ActionError>> + Send + 'async_trait>>where
Self: 'async_trait,
'cx: 'async_trait,
Reports operation-in-progress to the MTA.
Source§fn quarantine<'cx, 'a, 'async_trait>(
&'cx self,
reason: impl 'async_trait + IntoCString + Send + 'a,
) -> Pin<Box<dyn Future<Output = Result<(), ActionError>> + Send + 'async_trait>>where
Self: 'async_trait,
'cx: 'async_trait,
'a: 'async_trait,
fn quarantine<'cx, 'a, 'async_trait>(
&'cx self,
reason: impl 'async_trait + IntoCString + Send + 'a,
) -> Pin<Box<dyn Future<Output = Result<(), ActionError>> + Send + 'async_trait>>where
Self: 'async_trait,
'cx: 'async_trait,
'a: 'async_trait,
Quarantines the message. Read more
Auto Trait Implementations§
impl Freeze for EomActions
impl RefUnwindSafe for EomActions
impl Send for EomActions
impl Sync for EomActions
impl Unpin for EomActions
impl UnwindSafe for EomActions
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more