useopenssl::error::ErrorStack;/// A wrapper enum for things that could go wrong in this crate.
#[derive(Debug)]pubenumError{/// An error in OpenSSL.
OpenSslErrorStack(ErrorStack),/// An error in a SASL mechanism.
SaslError(String),}implFrom<ErrorStack>forError{fnfrom(err: ErrorStack)-> Error{Error::OpenSslErrorStack(err)}}