[][src]Enum kerbeiros::Error

pub enum Error {
    Asn1Error(Error),
    CryptographyError(Error),
    InvalidAscii,
    InvalidUtf8,
    InvalidMicroseconds(u32),
    IOError,
    InvalidKeyCharset,
    InvalidKeyLength(usize),
    KrbErrorResponse(KrbError),
    NameResolutionError(String),
    NetworkError,
    NoKeyProvided,
    NoProvidedSupportedCipherAlgorithm,
    NotAvailableData(String),
    ParseAsRepError(AsRepBox<Error>),
    PrincipalNameTypeUndefined(String),
    NoPrincipalName,
    NoAddress,
    BinaryParseError,
}

Type of error in kerbeiros library.

Variants

Asn1Error(Error)

Error handlening asn1 entities.

CryptographyError(Error)

Error produced in the application of cryptographic algorithms.

InvalidAscii

Invalid ascii string.

InvalidUtf8

Invalid utf8 string.

InvalidMicroseconds(u32)

Invalid microseconds value. Minimum = 0, Maximum = 999999.

IOError

Error in i/o operation.

InvalidKeyCharset

Invalid key

InvalidKeyLength(usize)

Invalid key

KrbErrorResponse(KrbError)

Received KRB-ERROR response.

NameResolutionError(String)

Error resolving name.

NetworkError

Error sending/receiving data over the network.

NoKeyProvided

No key was provided in order to decrypt the KDC response.

NoProvidedSupportedCipherAlgorithm

None cipher algorithm supported was specified.

NotAvailableData(String)

Some necessary data was not available in order to build the required message.

ParseAsRepError(AsRepBox<Error>)

Error parsing AS-REP message.

PrincipalNameTypeUndefined(String)

The type of the principal name was not specified.

NoPrincipalName

No principal name

NoAddress

No address found

BinaryParseError

Error parsing binary data

Trait Implementations

impl Clone for Error[src]

impl Debug for Error[src]

impl Display for Error[src]

impl Fail for Error[src]

impl<E> From<Err<E>> for Error[src]

impl From<Error> for Error[src]

impl From<Error> for Error[src]

impl<'_> From<FromAsciiError<&'_ str>> for Error[src]

impl From<FromAsciiError<Vec<u8>>> for Error[src]

impl From<FromUtf8Error> 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> AsFail for T where
    T: Fail
[src]

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

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

impl<E> Fail for E where
    E: 'static + Error + Send + Sync
[src]

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self

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

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

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.