Enum crypto::error::Error [−][src]
pub enum Error {
BufferSize {
name: &'static str,
needs: usize,
has: usize,
},
CipherError {
alg: &'static str,
},
ConvertError {
from: &'static str,
to: &'static str,
},
PrivateKeyError,
InvalidArgumentError {
alg: &'static str,
expected: &'static str,
},
SystemError {
call: &'static str,
raw_os_error: Option<i32>,
},
}
Expand description
Error type of crypto.rs
Variants
Buffer Error
Cipher Error
Fields of CipherError
alg: &'static str
Convertion Error
Private Key Error
InvalidArgumentError
System Error