initial commit

This commit is contained in:
lumi 2017-02-27 16:08:09 +01:00
commit 353b2579ea
8 changed files with 522 additions and 0 deletions

13
sasl/src/error.rs Normal file
View file

@ -0,0 +1,13 @@
use openssl::error::ErrorStack;
#[derive(Debug)]
pub enum Error {
OpenSslErrorStack(ErrorStack),
SaslError(String),
}
impl From<ErrorStack> for Error {
fn from(err: ErrorStack) -> Error {
Error::OpenSslErrorStack(err)
}
}