pub struct DkimOutput<'x> { /* private fields */ }
Implementations§
Source§impl<'x> DkimOutput<'x>
impl<'x> DkimOutput<'x>
pub fn pass() -> Self
pub fn perm_err(err: Error) -> Self
pub fn temp_err(err: Error) -> Self
pub fn fail(err: Error) -> Self
pub fn neutral(err: Error) -> Self
pub fn dns_error(err: Error) -> Self
pub fn with_signature(self, signature: &'x Signature) -> Self
pub fn with_report(self, report: String) -> Self
pub fn with_atps(self) -> Self
pub fn result(&self) -> &DkimResult
pub fn signature(&self) -> Option<&Signature>
pub fn failure_report_addr(&self) -> Option<&str>
Trait Implementations§
Source§impl<'x> Clone for DkimOutput<'x>
impl<'x> Clone for DkimOutput<'x>
Source§fn clone(&self) -> DkimOutput<'x>
fn clone(&self) -> DkimOutput<'x>
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<'x> Debug for DkimOutput<'x>
impl<'x> Debug for DkimOutput<'x>
Source§impl<'x> PartialEq for DkimOutput<'x>
impl<'x> PartialEq for DkimOutput<'x>
impl<'x> Eq for DkimOutput<'x>
impl<'x> StructuralPartialEq for DkimOutput<'x>
Auto Trait Implementations§
impl<'x> Freeze for DkimOutput<'x>
impl<'x> RefUnwindSafe for DkimOutput<'x>
impl<'x> Send for DkimOutput<'x>
impl<'x> Sync for DkimOutput<'x>
impl<'x> Unpin for DkimOutput<'x>
impl<'x> UnwindSafe for DkimOutput<'x>
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.