ReadonlynameAlways "ComponentsError"; the cross-copy identity isComponentsError checks.
ReadonlycodeThe failure code.
ReadonlydetailsStructured details, discriminated by code.
Staticistrue for a ComponentsError from any copy of this package.
StaticinvalidInvalidSize: invalid <dataType> size: expected <expected>, got <actual>, with the reference's data_type ("digest", "nonce",
"symmetric key", "ECDSA public key", …).
StaticinvalidInvalidData for unnamed data.
Optionalcause: unknownStaticinvalidInvalidData naming the type or parameter.
Optionalcause: unknownStaticdataDataTooShort: fewer bytes than the type's minimum.
StaticinvalidInvalidData for a malformed text form (an SSH PEM, a URI).
Optionalcause: unknownStaticcryptoCrypto: a cryptographic operation failed (authentication, signing).
Optionalcause: unknownStaticcborCbor with the CBOR error: prefix: a dcbor failure inside an
operation whose reference error type is the component Error
(Error::Cbor), or a dcbor failure met outside a decoder.
Optionalcause: unknownStaticcborCbor as a decoder reports it: the message is the dcbor Display of
cause with no prefix, as the reference's from_tagged_cbor returns a
dcbor::Error; cause is that CborError.
StaticsskrSskr: a failure from the sskr package.
Optionalcause: unknownStaticsshSsh: an SSH key, signature or certificate could not be parsed or used.
Optionalcause: unknownStaticsshSshAgent: an SSH-agent operation is not available.
Optionalcause: unknownStaticuriStaticcompressionCompression: a DEFLATE stream or its checksum is corrupt.
Optionalcause: unknownStaticpostPostQuantum: an ML-DSA / ML-KEM level or key is invalid.
Optionalcause: unknownStaticlevelLevelMismatch: an ML-DSA signature and key of different levels.
StatichexHex: a malformed hex string (hex decoding error: <reason>, the hex crate's texts).
Optionalcause: unknownStaticutf8Utf8: bytes that are not valid UTF-8 (UTF-8 conversion error: <reason>).
Optionalcause: unknownStaticenvEnv: an environment variable an SSH-agent transport needs is missing or unreadable.
Optionalcause: unknownStaticsshSshAgentClient: the SSH-agent transport failed (socket, protocol).
Optionalcause: unknownStaticgeneralGeneral: anything the other codes do not name.
Optionalcause: unknown
Error raised by every component operation.