Enum sequoia_openpgp_ffi::error::Status[][src]

#[repr(C)]
pub enum Status {
Show 31 variants Success, UnknownError, NetworkPolicyViolation, IoError, InvalidArgument, InvalidOperation, MalformedPacket, PacketTooLarge, UnsupportedPacketType, UnsupportedHashAlgorithm, UnsupportedPublicKeyAlgorithm, UnsupportedEllipticCurve, UnsupportedSymmetricAlgorithm, UnsupportedAEADAlgorithm, UnsupportedCompressionAlgorithm, UnsupportedSignatureType, InvalidPassword, InvalidSessionKey, MissingSessionKey, MalformedCert, MalformedMPI, BadSignature, ManipulatedMessage, MalformedMessage, IndexOutOfRange, UnsupportedCert, Expired, NotYetLive, NoBindingSignature, InvalidKey, PolicyViolation,
}
Expand description

XXX: Reorder and name-space before release.

Variants

Success

The operation was successful.

UnknownError

An unknown error occurred.

NetworkPolicyViolation

The network policy was violated by the given action.

IoError

An IO error occurred.

InvalidArgument

A given argument is invalid.

InvalidOperation

The requested operation is invalid.

MalformedPacket

The packet is malformed.

PacketTooLarge

Packet size exceeds the configured limit.

UnsupportedPacketType

Unsupported packet type.

UnsupportedHashAlgorithm

Unsupported hash algorithm.

UnsupportedPublicKeyAlgorithm

Unsupported public key algorithm.

UnsupportedEllipticCurve

Unsupported elliptic curve.

UnsupportedSymmetricAlgorithm

Unsupported symmetric algorithm.

UnsupportedAEADAlgorithm

Unsupported AEAD algorithm.

UnsupportedCompressionAlgorithm

Unsupported Compression algorithm.

UnsupportedSignatureType

Unsupported signature type.

InvalidPassword

Invalid password.

InvalidSessionKey

Invalid session key.

MissingSessionKey

Missing session key.

MalformedCert

Malformed Cert.

MalformedMPI

Malformed MPI.

BadSignature

Bad signature.

ManipulatedMessage

Message has been manipulated.

MalformedMessage

Malformed message.

IndexOutOfRange

Index out of range.

UnsupportedCert

Cert not supported.

Expired

Expired.

NotYetLive

Not yet live.

NoBindingSignature

No binding signature.

InvalidKey

Invalid key.

PolicyViolation

Policy violation.

Trait Implementations

Formats the value using the given formatter. Read more

Performs the conversion.

Performs the conversion.

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.