[−][src]Enum email::mimeheaders::MimeContentTransferEncoding
Special header type for the Content-Transfer-Encoding header.
Variants
Message content is not encoded in any way.
Content transfered using the quoted-printable encoding.
This encoding is defined in RFC 2045 Section 6.7
Content transfered as BASE64
This encoding is defined in RFC 2045 Section 6.8
Methods
impl MimeContentTransferEncoding
[src]
pub fn decode(self, input: &str) -> Option<Vec<u8>>
[src]
Decode the input string with this transfer encoding.
Note that this will return a clone of the input's bytes if the transfer encoding is the Identity encoding. [unstable]
Trait Implementations
impl Clone for MimeContentTransferEncoding
[src]
fn clone(&self) -> MimeContentTransferEncoding
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for MimeContentTransferEncoding
[src]
impl Debug for MimeContentTransferEncoding
[src]
impl Eq for MimeContentTransferEncoding
[src]
impl FromHeader for MimeContentTransferEncoding
[src]
fn from_header(value: String) -> ParsingResult<MimeContentTransferEncoding>
[src]
impl PartialEq<MimeContentTransferEncoding> for MimeContentTransferEncoding
[src]
fn eq(&self, other: &MimeContentTransferEncoding) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl StructuralEq for MimeContentTransferEncoding
[src]
impl StructuralPartialEq for MimeContentTransferEncoding
[src]
Auto Trait Implementations
impl RefUnwindSafe for MimeContentTransferEncoding
impl Send for MimeContentTransferEncoding
impl Sync for MimeContentTransferEncoding
impl Unpin for MimeContentTransferEncoding
impl UnwindSafe for MimeContentTransferEncoding
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
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> 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, 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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,