pub enum AuthResultsError<'hdr> {
Show 35 variants
RunawayUnknownMethod(usize),
ParsingDetailed(ParsingDetail<'hdr>),
NoHeader,
Parse,
ParseComment(CommentError<'hdr>),
ParseHost(String),
ParsePtypeBugGating,
ParsePtypeBugInvalidProperty,
ParsePtypeBugPropertyGating,
ParsePtypeInvalidAssociatedPtype(ParsingDetail<'hdr>),
InvalidDkimResult(String),
InvalidSpfResult(String),
InvalidIpRevResult(String),
InvalidProperty,
InvalidSmtpAuthResult(String),
InvalidResultStage,
InvalidVersion,
NoAssociatedVersion,
NoAssociatedPolicy,
NoAssociatedReason,
NoHostname,
ParsePtypeNoMethodResult,
PropertiesNotImplemented,
PropertyValuesNotImplemented,
RunAwayAuthPropertyKey,
RunAwayAuthPropertyValue,
RunAwayComment,
RunAwayDkimPropertyKey,
RunAwayDkimPropertyValue,
RunAwayIpRevPropertyKey,
RunAwayIpRevPropertyValue,
RunAwaySpfPropertyKey,
RunAwaySpfPropertyValue,
UnexpectedForwardSlash,
ParseCurrentPushNotImplemented,
}
Expand description
Errors relating to parsing Authentication-Results Header
Variants§
RunawayUnknownMethod(usize)
Could not find the ending for unknown method block beginning from
ParsingDetailed(ParsingDetail<'hdr>)
Detailed with ParsingDetail
NoHeader
No header
Parse
Unknown parsing error
ParseComment(CommentError<'hdr>)
Comment parsing error
ParseHost(String)
Host parsing error
ParsePtypeBugGating
Bug
ParsePtypeBugInvalidProperty
Bug
ParsePtypeBugPropertyGating
Bug
ParsePtypeInvalidAssociatedPtype(ParsingDetail<'hdr>)
Invalid associated ptype Encountered
InvalidDkimResult(String)
Invalid dkim method Result Code
InvalidSpfResult(String)
Invalid spf method Result Code
InvalidIpRevResult(String)
Invalid iprev method Result Code
InvalidProperty
Was not a valid ptype/property per IANA and strict validation was used
InvalidSmtpAuthResult(String)
Invalid auth method Result code
InvalidResultStage
Invalid stage in result
InvalidVersion
Invalid version - Only 1 allowed
NoAssociatedVersion
No associated version found when required
NoAssociatedPolicy
No associated policy found when defined
NoAssociatedReason
No assicited reason found when defined
NoHostname
No hostname found that is required
ParsePtypeNoMethodResult
Err
PropertiesNotImplemented
Bug property keys not implemented for ptype
PropertyValuesNotImplemented
Bug property values not implemented for ptype
RunAwayAuthPropertyKey
Run-away auth method property key
RunAwayAuthPropertyValue
Run-away auth method property value
RunAwayComment
Run-away comment
RunAwayDkimPropertyKey
Run-away dkim method property key
RunAwayDkimPropertyValue
Run-away dkim method property value
RunAwayIpRevPropertyKey
Run-away iprev method property key
RunAwayIpRevPropertyValue
Run-away iprev method property value
RunAwaySpfPropertyKey
Run-away spf method property key
RunAwaySpfPropertyValue
Run-away spf method property value
UnexpectedForwardSlash
Unexpected forward slash
ParseCurrentPushNotImplemented
Bug
Trait Implementations§
Source§impl<'hdr> Clone for AuthResultsError<'hdr>
impl<'hdr> Clone for AuthResultsError<'hdr>
Source§fn clone(&self) -> AuthResultsError<'hdr>
fn clone(&self) -> AuthResultsError<'hdr>
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more