pub struct Quarantine { /* private fields */ }Expand description
This quarantines the message into a holding pool defined by the MTA.
(First implemented in Sendmail in version 8.13; offered to the milter by
the SMFIF_QUARANTINE flag in “actions” of SMFIC_OPTNEG.)
Implementations§
Trait Implementations§
Source§impl Clone for Quarantine
impl Clone for Quarantine
Source§fn clone(&self) -> Quarantine
fn clone(&self) -> Quarantine
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for Quarantine
impl Debug for Quarantine
Source§impl From<Quarantine> for ModificationAction
impl From<Quarantine> for ModificationAction
Source§fn from(v: Quarantine) -> ModificationAction
fn from(v: Quarantine) -> ModificationAction
Converts to this type from the input type.
Source§impl From<Quarantine> for ServerCommand
impl From<Quarantine> for ServerCommand
Source§fn from(value: Quarantine) -> Self
fn from(value: Quarantine) -> Self
Converts to this type from the input type.
Source§impl TryInto<Quarantine> for ModificationAction
impl TryInto<Quarantine> for ModificationAction
Source§impl Writable for Quarantine
impl Writable for Quarantine
Source§fn len(&self) -> usize
fn len(&self) -> usize
Byte-length that would be written if
Self::write is calledSource§fn is_empty(&self) -> bool
fn is_empty(&self) -> bool
Whether a call to
Self::write would write somethingAuto Trait Implementations§
impl Freeze for Quarantine
impl RefUnwindSafe for Quarantine
impl Send for Quarantine
impl Sync for Quarantine
impl Unpin for Quarantine
impl UnwindSafe for Quarantine
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