Enum botan::Error[][src]

pub enum Error {
    BadAuthCode,
    BadFlag,
    BadParameter,
    ExceptionThrown,
    InsufficientBufferSpace,
    InternalError,
    InvalidInput,
    InvalidObject,
    InvalidObjectState,
    InvalidVerifier,
    InvalidKeyLength,
    KeyNotSet,
    NotImplemented,
    NullPointer,
    OutOfMemory,
    SystemError,
    UnknownError,
    ConversionError,
    TlsError,
    HttpError,
}

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

InternalError

An internal error occurred (this is a bug in the library)

InvalidInput

Something about the input was invalid

InvalidObject

An invalid object was provided to the library

InvalidObjectState

An object was invoked in a way that is invalid for its current state

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

SystemError

An error occurred while invoking a system API

UnknownError

Some unknown error occurred

ConversionError

An error occured while converting data to C

TlsError

An error occurred in TLS

HttpError

An error occurred during an HTTP transaction

Trait Implementations

impl Clone for Error[src]

impl Debug for Error[src]

impl From<i32> for Error[src]

impl PartialEq<Error> for Error[src]

impl StructuralPartialEq for Error[src]

Auto Trait Implementations

impl RefUnwindSafe for Error

impl Send for Error

impl Sync for Error

impl Unpin for Error

impl UnwindSafe for Error

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.