#![deny(missing_docs)] and lots of documentation

This commit is contained in:
lumi 2017-02-28 13:05:17 +01:00
commit c56676a601
6 changed files with 83 additions and 4 deletions

View file

@ -1,8 +1,11 @@
use openssl::error::ErrorStack;
/// A wrapper enum for things that could go wrong in this crate.
#[derive(Debug)]
pub enum Error {
/// An error in OpenSSL.
OpenSslErrorStack(ErrorStack),
/// An error in a SASL mechanism.
SaslError(String),
}