Enum imap_proto::types::ContentEncoding
source · pub enum ContentEncoding<'a> {
SevenBit,
EightBit,
Binary,
Base64,
QuotedPrintable,
Other(Cow<'a, str>),
}
Variants§
Implementations§
source§impl<'a> ContentEncoding<'a>
impl<'a> ContentEncoding<'a>
pub fn into_owned(self) -> ContentEncoding<'static>
Trait Implementations§
source§impl<'a> Debug for ContentEncoding<'a>
impl<'a> Debug for ContentEncoding<'a>
source§impl<'a> PartialEq for ContentEncoding<'a>
impl<'a> PartialEq for ContentEncoding<'a>
source§fn 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 ==
.impl<'a> Eq for ContentEncoding<'a>
impl<'a> StructuralPartialEq for ContentEncoding<'a>
Auto Trait Implementations§
impl<'a> Freeze for ContentEncoding<'a>
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§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more