Enum botan::Error [−][src]
pub enum Error { BadAuthCode, BadFlag, BadParameter, ExceptionThrown, InsufficientBufferSpace, InvalidInput, InvalidObject, InvalidVerifier, InvalidKeyLength, KeyNotSet, NotImplemented, NullPointer, OutOfMemory, UnknownError, ConversionError, }
Possible errors
Variants
BadAuthCode
A provided authentication code was incorrect
BadFlag
A bad flag was passed to the library
BadParameter
An invalid parameter was provided to the library
ExceptionThrown
An exception was thrown while processing this request
InsufficientBufferSpace
There was insufficient buffer space to write the output
InvalidInput
Something about the input was invalid
InvalidObject
An invalid object was provided to the library
InvalidVerifier
A verifier was incorrect
InvalidKeyLength
An key of invalid length was provided
KeyNotSet
An object was invoked without the key being set
NotImplemented
Some functionality is not implemented in the current library version
NullPointer
A null pointer was incorrectly provided
OutOfMemory
Memory exhaustion
UnknownError
Some unknown error occurred
ConversionError
An error occured while converting data to C
Trait Implementations
impl Clone for Error
[src]
impl Clone for Error
fn clone(&self) -> Error
[src]
fn clone(&self) -> Error
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Debug for Error
[src]
impl Debug for Error
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for Error
[src]
impl PartialEq for Error
fn eq(&self, other: &Error) -> bool
[src]
fn eq(&self, other: &Error) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
fn ne(&self, other: &Rhs) -> bool
This method tests for !=
.
impl From<i32> for Error
[src]
impl From<i32> for Error