[][src]Trait amiquip::Sasl

pub trait Sasl: Default + Clone + Send + 'static {
    fn mechanism(&self) -> String;
fn response(&self) -> String; }

A trait encapsulating the operations required to authenticate to an AMQP server.

Warning

SASL mechanisms that require AMQP secure / secure-ok exchanges are currently not supported.

Required methods

fn mechanism(&self) -> String

The SASL mechanism to report. The server must support this mechanism for authentication to succeed.

fn response(&self) -> String

The response body to send along with the mechanism.

Loading content...

Implementors

impl Sasl for Auth[src]

Loading content...