Enum async_pop::response::capability::Capability
source · pub enum Capability {
Top,
User,
Sasl(Vec<Bytes>),
RespCodes,
LoginDelay(Duration),
Pipelining,
Expire(Expiration),
Uidl,
Implementation(Text),
Stls,
Other(Text),
}
Variants§
Top
Whether the TOP command is supported.
User
Whether the USER and PASS commands (login) are supported.
Sasl(Vec<Bytes>)
Whether the use of a SASL based login is supported and if so what kinds. See https://www.rfc-editor.org/rfc/rfc1734
RespCodes
Whether the server uses extends response codes. See https://www.rfc-editor.org/rfc/rfc2449#section-8
LoginDelay(Duration)
Whether there is a delay between each login and how long it is.
Pipelining
Whether the server supports pipelining. See https://www.rfc-editor.org/rfc/rfc2197
Expire(Expiration)
The amount of time the server will store messsages for.
Uidl
Whether the UIDL command is supported.
Implementation(Text)
The type of authentication method the server prefers/uses.
Stls
Other(Text)
Trait Implementations§
source§impl Clone for Capability
impl Clone for Capability
source§fn clone(&self) -> Capability
fn clone(&self) -> Capability
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 Debug for Capability
impl Debug for Capability
source§impl Hash for Capability
impl Hash for Capability
source§impl Ord for Capability
impl Ord for Capability
source§fn cmp(&self, other: &Capability) -> Ordering
fn cmp(&self, other: &Capability) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for Capability
impl PartialEq for Capability
source§fn eq(&self, other: &Capability) -> bool
fn eq(&self, other: &Capability) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for Capability
impl PartialOrd for Capability
source§fn partial_cmp(&self, other: &Capability) -> Option<Ordering>
fn partial_cmp(&self, other: &Capability) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Eq for Capability
impl StructuralEq for Capability
impl StructuralPartialEq for Capability
Auto Trait Implementations§
impl RefUnwindSafe for Capability
impl Send for Capability
impl Sync for Capability
impl Unpin for Capability
impl UnwindSafe for Capability
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