[−][src]Enum mail_headers::error::BuildInValidationError
The build-in error variants (error kinds) which can be returned when running a header map validator.
Variants
This error is returned by use_contextual_validators if there is a "max one" inconsistency.
I.e. if multiple implementations of the same header are used in the same map but the implementations do not agree on wether or not the header can appear at most one time in a header section.
Fields of MaxOneInconsistency
header_name: &'static strFields of MoreThenOne
header_name: &'static strTrait Implementations
impl Clone for BuildInValidationError[src]
fn clone(&self) -> BuildInValidationError[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Copy for BuildInValidationError[src]
impl Debug for BuildInValidationError[src]
impl Display for BuildInValidationError[src]
impl Eq for BuildInValidationError[src]
impl Fail for BuildInValidationError[src]
fn name(&self) -> Option<&str>[src]
fn cause(&self) -> Option<&dyn Fail>[src]
fn backtrace(&self) -> Option<&Backtrace>[src]
fn context<D>(self, context: D) -> Context<D> where
D: Display + Send + Sync + 'static, [src]
D: Display + Send + Sync + 'static,
fn compat(self) -> Compat<Self>[src]
impl From<BuildInValidationError> for HeaderValidationError[src]
fn from(err: BuildInValidationError) -> Self[src]
impl Hash for BuildInValidationError[src]
fn hash<__H: Hasher>(&self, state: &mut __H)[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0[src]
H: Hasher,
impl PartialEq<BuildInValidationError> for BuildInValidationError[src]
fn eq(&self, other: &BuildInValidationError) -> bool[src]
fn ne(&self, other: &BuildInValidationError) -> bool[src]
impl StructuralEq for BuildInValidationError[src]
impl StructuralPartialEq for BuildInValidationError[src]
Auto Trait Implementations
impl RefUnwindSafe for BuildInValidationError
impl Send for BuildInValidationError
impl Sync for BuildInValidationError
impl Unpin for BuildInValidationError
impl UnwindSafe for BuildInValidationError
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> AsFail for T where
T: Fail, [src]
T: Fail,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> Erased for T[src]
impl<E> Fail for E where
E: 'static + Error + Send + Sync, [src]
E: 'static + Error + Send + Sync,
fn name(&self) -> Option<&str>[src]
fn cause(&self) -> Option<&(dyn Fail + 'static)>[src]
fn backtrace(&self) -> Option<&Backtrace>[src]
fn context<D>(self, context: D) -> Context<D> where
D: Display + Send + Sync + 'static, [src]
D: Display + Send + Sync + 'static,
fn compat(self) -> Compat<Self>[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T[src]
fn clone_into(&self, target: &mut T)[src]
impl<T> ToString for T where
T: Display + ?Sized, [src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,