[][src]Enum caramel_client::CcError

pub enum CcError {
    PrivateKeyParseFailure,
    PrivateKeyTooShort {
        actual: u32,
    },
    PrivateKeyCreationFailure,
    CaCertNotSelfSigned,
    CaCertParseFailure,
    CertKeyMismatch,
    CertSignatureInvalid,
    CertCommonNameMismatch,
    CertValidationFailure,
    CsrBuildSubjectFailure,
    CsrBuildFailure,
    CsrSignedWithWrongKey,
    CsrCommonNameMismatch,
    CsrValidationFailure,
    DownloadCertificateFailure,
    LibCurl,
    Network,
    NetworkPost(String),
    NotFound,
    CaNotFound,
}

Enum CcError used for library error replies.

Variants

PrivateKeyParseFailure
PrivateKeyTooShort

Fields of PrivateKeyTooShort

actual: u32
PrivateKeyCreationFailure
CaCertNotSelfSigned
CaCertParseFailure
CertKeyMismatch
CertSignatureInvalid
CertCommonNameMismatch
CertValidationFailure
CsrBuildSubjectFailure
CsrBuildFailure
CsrSignedWithWrongKey
CsrCommonNameMismatch
CsrValidationFailure
DownloadCertificateFailure
LibCurl
Network
NetworkPost(String)
NotFound
CaNotFound

Trait Implementations

impl Debug for CcError[src]

impl Display for CcError[src]

impl Error for CcError[src]

impl From<Error> for CcError[src]

impl PartialEq<CcError> for CcError[src]

impl StructuralPartialEq for CcError[src]

Auto Trait Implementations

impl RefUnwindSafe for CcError

impl Send for CcError

impl Sync for CcError

impl Unpin for CcError

impl UnwindSafe for CcError

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> Same<T> for T

type Output = T

Should always be Self

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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,