Struct mail_headers::error::HeaderTypeError
source · pub struct HeaderTypeError { /* private fields */ }
Expand description
This error can occur if different implementations for the
same header (e.g. Subject
) where used in the same HeaderMap
.
Implementations
sourceimpl HeaderTypeError
impl HeaderTypeError
pub fn new(name: HeaderName) -> Self
pub fn new_with_backtrace(name: HeaderName, backtrace: Backtrace) -> Self
Trait Implementations
sourceimpl Debug for HeaderTypeError
impl Debug for HeaderTypeError
sourceimpl Display for HeaderTypeError
impl Display for HeaderTypeError
sourceimpl Fail for HeaderTypeError
impl Fail for HeaderTypeError
sourcefn cause(&self) -> Option<&dyn Fail>
fn cause(&self) -> Option<&dyn Fail>
Returns a reference to the underlying cause of this failure, if it
is an error that wraps other errors. Read more
sourcefn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
Returns a reference to the
Backtrace
carried by this failure, if it
carries one. Read moreAuto Trait Implementations
impl !RefUnwindSafe for HeaderTypeError
impl Send for HeaderTypeError
impl Sync for HeaderTypeError
impl Unpin for HeaderTypeError
impl UnwindSafe for HeaderTypeError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more