[][src]Struct mail_core::EncData

pub struct EncData { /* fields omitted */ }

EncData is like Data but the buffer contains transfer encoded data.

Clone

Data is made to be cheap to clone and share. For this it uses Arc internally.

Methods

impl EncData
[src]

Access the raw transfer encoded data.

Access the metadata.

Access the file meta metadata.Fn

Access the content type.

Access the transfer encoding used to encode the buffer.

Access the content id.

The content id is for the data itself so it should not change just because the data had been transfer encoded.

Note about fixed newlines:

The encoding functions of this library will always "fix" line endings even if the transfer encoding is to not have any encoding, it could be said that this is a modification of the data and as such the content id should change. But as this is done always and as such only the transfer encoded data is "send" out this works out fine.

Trait Implementations

impl Clone for EncData
[src]

Performs copy-assignment from source. Read more

impl Debug for EncData
[src]

Auto Trait Implementations

impl Send for EncData

impl Sync for EncData

Blanket Implementations

impl<T> From for T
[src]

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

impl<T> ToOwned for T where
    T: Clone
[src]

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

impl<F, T> HeaderTryInto for F where
    T: HeaderTryFrom<F>, 
[src]

impl<T> HeaderTryFrom for T
[src]

impl<T> Erased for T