pub enum SpfResult {
Pass,
Fail {
explanation: Option<String>,
},
SoftFail,
Neutral,
None,
TempError,
PermError,
}Expand description
SPF evaluation result (RFC 7208 Section 2.6).
Variants§
Pass
Sender is authorized.
Fail
Sender is NOT authorized, with optional explanation from exp=.
SoftFail
Weak authorization failure.
Neutral
No assertion made.
None
No SPF record found.
TempError
Transient DNS error.
PermError
Permanent error (syntax, too many lookups, etc.).
Trait Implementations§
impl Eq for SpfResult
impl StructuralPartialEq for SpfResult
Auto Trait Implementations§
impl Freeze for SpfResult
impl RefUnwindSafe for SpfResult
impl Send for SpfResult
impl Sync for SpfResult
impl Unpin for SpfResult
impl UnsafeUnpin for SpfResult
impl UnwindSafe for SpfResult
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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