Enum amq_protocol::auth::SASLMechanism
source · pub enum SASLMechanism {
AMQPlain,
External,
Plain,
RabbitCrDemo,
}
Expand description
The SASL mechanisms supported by RabbitMQ
Variants§
AMQPlain
This is a legacy mechanism kept for backward compatibility
External
Delegate all authentication to the transport instead of the RabbitMQ server
Plain
Default plain login, this should be supported everywhere
RabbitCrDemo
A demo of RabbitMQ SecureOk mechanism, offers the same level of security as Plain
Trait Implementations§
source§impl Clone for SASLMechanism
impl Clone for SASLMechanism
source§fn clone(&self) -> SASLMechanism
fn clone(&self) -> SASLMechanism
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 SASLMechanism
impl Debug for SASLMechanism
source§impl Default for SASLMechanism
impl Default for SASLMechanism
source§fn default() -> SASLMechanism
fn default() -> SASLMechanism
Returns the “default value” for a type. Read more
source§impl Display for SASLMechanism
impl Display for SASLMechanism
source§impl FromStr for SASLMechanism
impl FromStr for SASLMechanism
source§impl PartialEq for SASLMechanism
impl PartialEq for SASLMechanism
source§fn eq(&self, other: &SASLMechanism) -> bool
fn eq(&self, other: &SASLMechanism) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for SASLMechanism
impl Eq for SASLMechanism
impl StructuralPartialEq for SASLMechanism
Auto Trait Implementations§
impl Freeze for SASLMechanism
impl RefUnwindSafe for SASLMechanism
impl Send for SASLMechanism
impl Sync for SASLMechanism
impl Unpin for SASLMechanism
impl UnwindSafe for SASLMechanism
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