Enum imap_types::response::data::Capability
source · pub enum Capability<'a> {
Imap4Rev1,
Auth(AuthMechanism<'a>),
Other(CapabilityOther<'a>),
}Variants§
Trait Implementations§
source§impl<'a> Clone for Capability<'a>
impl<'a> Clone for Capability<'a>
source§fn clone(&self) -> Capability<'a>
fn clone(&self) -> Capability<'a>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl<'a> Debug for Capability<'a>
impl<'a> Debug for Capability<'a>
source§impl<'a> From<Atom<'a>> for Capability<'a>
impl<'a> From<Atom<'a>> for Capability<'a>
source§impl<'a> Hash for Capability<'a>
impl<'a> Hash for Capability<'a>
source§impl<'a> PartialEq<Capability<'a>> for Capability<'a>
impl<'a> PartialEq<Capability<'a>> for Capability<'a>
source§fn eq(&self, other: &Capability<'a>) -> bool
fn eq(&self, other: &Capability<'a>) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl<'a> TryFrom<&'a [u8]> for Capability<'a>
impl<'a> TryFrom<&'a [u8]> for Capability<'a>
source§impl<'a> TryFrom<&'a str> for Capability<'a>
impl<'a> TryFrom<&'a str> for Capability<'a>
source§impl<'a> TryFrom<String> for Capability<'a>
impl<'a> TryFrom<String> for Capability<'a>
impl<'a> Eq for Capability<'a>
impl<'a> StructuralEq for Capability<'a>
impl<'a> StructuralPartialEq for Capability<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for Capability<'a>
impl<'a> Send for Capability<'a>
impl<'a> Sync for Capability<'a>
impl<'a> Unpin for Capability<'a>
impl<'a> UnwindSafe for Capability<'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