Enum imap_proto::types::Capability
source · pub enum Capability<'a> {
Imap4rev1,
Auth(Cow<'a, str>),
Atom(Cow<'a, str>),
}
Variants§
Implementations§
source§impl<'a> Capability<'a>
impl<'a> Capability<'a>
pub fn into_owned(self) -> Capability<'static>
Trait Implementations§
source§impl<'a> Debug for Capability<'a>
impl<'a> Debug for Capability<'a>
source§impl<'a> Hash for Capability<'a>
impl<'a> Hash for Capability<'a>
source§impl<'a> PartialEq for Capability<'a>
impl<'a> PartialEq 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 ==
.impl<'a> Eq 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