[][src]Struct mail_headers::map::TypedBodiesMut

pub struct TypedBodiesMut<'a, H> where
    H: HeaderKind
{ /* fields omitted */ }

Iterator over all boxed bodies for a given header name with knows which type they should have

This iterator will automatically try to cast each header body of this header to H::Component, i.e. the type this body should have.

Trait Implementations

impl<'a, H> Debug for TypedBodiesMut<'a, H> where
    H: HeaderKind
[src]

impl<'a, H> ExactSizeIterator for TypedBodiesMut<'a, H> where
    H: HeaderKind
[src]

impl<'a, H> From<EntryValuesMut<'a, dyn HeaderObjTrait + 'static>> for TypedBodiesMut<'a, H> where
    H: HeaderKind
[src]

impl<'a, H> Iterator for TypedBodiesMut<'a, H> where
    H: HeaderKind
[src]

type Item = Result<&'a mut Header<H>, HeaderTypeError>

The type of the elements being iterated over.

Auto Trait Implementations

impl<'a, H> !RefUnwindSafe for TypedBodiesMut<'a, H>

impl<'a, H> !Send for TypedBodiesMut<'a, H>

impl<'a, H> !Sync for TypedBodiesMut<'a, H>

impl<'a, H> Unpin for TypedBodiesMut<'a, H> where
    H: Unpin

impl<'a, H> !UnwindSafe for TypedBodiesMut<'a, H>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Erased for T[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<I> IntoIterator for I where
    I: Iterator
[src]

type Item = <I as Iterator>::Item

The type of the elements being iterated over.

type IntoIter = I

Which kind of iterator are we turning this into?

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.