pub enum EomAction {
AddHeader {
name: CString,
value: CString,
},
InsertHeader {
index: i32,
name: CString,
value: CString,
},
ChangeHeader {
name: CString,
index: i32,
value: CString,
},
DeleteHeader {
name: CString,
index: i32,
},
ChangeSender {
mail: CString,
args: Option<CString>,
},
AddRecipient {
rcpt: CString,
args: Option<CString>,
},
DeleteRecipient {
rcpt: CString,
},
ReplaceBody {
chunk: Bytes,
},
Progress,
Quarantine {
reason: CString,
},
}Expand description
An end-of-message action performed by a milter.
Variants§
AddHeader
InsertHeader
ChangeHeader
DeleteHeader
ChangeSender
AddRecipient
DeleteRecipient
ReplaceBody
Progress
Quarantine
Trait Implementations§
impl Eq for EomAction
impl StructuralPartialEq for EomAction
Auto Trait Implementations§
impl !Freeze for EomAction
impl RefUnwindSafe for EomAction
impl Send for EomAction
impl Sync for EomAction
impl Unpin for EomAction
impl UnwindSafe for EomAction
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