pub enum Status {
Accept,
Continue,
Reject,
Tempfail,
Discard,
Noreply,
Skip,
AllOpts,
}Expand description
The status returned from callbacks.
Variants§
Accept
Accept this connection or message.
Continue
Continue with the next stage.
Reject
Reject this connection, message, or recipient.
Tempfail
Reject this connection, message, or recipient with a temporary failure.
Discard
Silently discard this message.
Noreply
Do not send a response to the MTA.
Skip
Skip further invocations of this callback.
AllOpts
Enable all stages and all actions during negotiation.
Trait Implementations§
impl Copy for Status
impl Eq for Status
impl StructuralPartialEq for Status
Auto Trait Implementations§
impl Freeze for Status
impl RefUnwindSafe for Status
impl Send for Status
impl Sync for Status
impl Unpin for Status
impl UnwindSafe for Status
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