Enum imap_proto::types::ContentEncoding
source · [−]pub enum ContentEncoding<'a> {
SevenBit,
EightBit,
Binary,
Base64,
QuotedPrintable,
Other(Cow<'a, str>),
}Variants
SevenBit
EightBit
Binary
Base64
QuotedPrintable
Other(Cow<'a, str>)
Implementations
sourceimpl<'a> ContentEncoding<'a>
impl<'a> ContentEncoding<'a>
pub fn into_owned(self) -> ContentEncoding<'static>
Trait Implementations
sourceimpl<'a> Debug for ContentEncoding<'a>
impl<'a> Debug for ContentEncoding<'a>
sourceimpl<'a> PartialEq<ContentEncoding<'a>> for ContentEncoding<'a>
impl<'a> PartialEq<ContentEncoding<'a>> for ContentEncoding<'a>
sourcefn eq(&self, other: &ContentEncoding<'a>) -> bool
fn eq(&self, other: &ContentEncoding<'a>) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &ContentEncoding<'a>) -> bool
fn ne(&self, other: &ContentEncoding<'a>) -> bool
This method tests for !=.
impl<'a> Eq for ContentEncoding<'a>
impl<'a> StructuralEq for ContentEncoding<'a>
impl<'a> StructuralPartialEq for ContentEncoding<'a>
Auto Trait Implementations
impl<'a> RefUnwindSafe for ContentEncoding<'a>
impl<'a> Send for ContentEncoding<'a>
impl<'a> Sync for ContentEncoding<'a>
impl<'a> Unpin for ContentEncoding<'a>
impl<'a> UnwindSafe for ContentEncoding<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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