#[non_exhaustive]pub enum ErrorContext {
Show 40 variants
AssociatedData,
AeadCiphertext,
AeadEnvelope,
AuthenticationTag,
Blake2bKey,
Blake2bOutput,
Blake2b,
Box,
Ciphertext,
Curve25519PublicKey,
Data,
Ed25519PublicKey,
EphemeralPublicKey,
MemoryCost,
MemoryLimit,
Message,
Nonce,
OperationsLimit,
Output,
Parallelism,
Password,
PasswordHash,
PasswordHashAlgorithm,
PasswordHashMemoryCost,
PasswordHashParallelism,
PasswordHashSalt,
PasswordHashTimeCost,
PasswordHashVersion,
ProtectedMemory,
PublicKey,
SealedBox,
Secret,
SecretBox,
SecretKey,
Signature,
SignedMessage,
Slice,
Subkey,
Tag,
TimeCost,
}Expand description
The input, output, or operation associated with an Error.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
AssociatedData
Associated data supplied to an authenticated operation.
AeadCiphertext
An authenticated-encryption ciphertext.
AeadEnvelope
An authenticated-encryption envelope.
AuthenticationTag
A message authentication tag.
Blake2bKey
A BLAKE2b key.
Blake2bOutput
BLAKE2b output.
Blake2b
A BLAKE2b operation or state.
Box
An authenticated public-key box.
Ciphertext
Ciphertext input or output.
Curve25519PublicKey
A Curve25519 public key.
Data
An in-place data buffer.
Ed25519PublicKey
An Ed25519 public key.
EphemeralPublicKey
An ephemeral public key.
MemoryCost
An Argon2 memory-cost parameter.
MemoryLimit
A password-hashing memory limit.
Message
Plaintext message input or output.
Nonce
A nonce.
OperationsLimit
A password-hashing operations limit.
Output
A generic output buffer.
Parallelism
An Argon2 parallelism parameter.
Password
A password.
PasswordHash
An encoded password hash or its hash field.
PasswordHashAlgorithm
A password-hash algorithm field.
PasswordHashMemoryCost
A password-hash memory-cost field.
PasswordHashParallelism
A password-hash parallelism field.
PasswordHashSalt
A password-hash salt field.
PasswordHashTimeCost
A password-hash time-cost field.
PasswordHashVersion
A password-hash version field.
ProtectedMemory
A protected-memory value or operation.
PublicKey
A public key.
SealedBox
A sealed public-key box.
Secret
An Argon2 secret input.
SecretBox
An authenticated secret-key box.
SecretKey
A secret key.
Signature
A signature.
SignedMessage
A signed message.
Slice
A byte slice.
Subkey
A derived subkey.
Tag
A secretstream message tag.
TimeCost
An Argon2 time-cost parameter.
Trait Implementations§
Source§impl Clone for ErrorContext
impl Clone for ErrorContext
Source§fn clone(&self) -> ErrorContext
fn clone(&self) -> ErrorContext
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more