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

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

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

The response body to send along with the mechanism.

Implementors