Enum ssb_verify_signatures::Error [−][src]
pub enum Error { InvalidSignatureBytes, InvalidKeyBytes, InvalidSignature {}, InvalidSsbMessage { source: DecodeJsonError, }, UnableToEncodeMessageToValidSigningEncoding { source: EncodeJsonError, }, InvalidSsbMessageJson { source: SerdeJsonError, }, InvalidSignatureString {}, InvalidSignatureStringBase64Encoding { source: DecodeError, }, InvalidAuthorString {}, InvalidAuthorStringBase64Encoding { source: DecodeError, }, InvalidMessageNoValue, InvalidHmac, }
Variants
Fields of InvalidSignature
Fields of InvalidSsbMessage
source: DecodeJsonError
Fields of UnableToEncodeMessageToValidSigningEncoding
source: EncodeJsonError
Fields of InvalidSsbMessageJson
source: SerdeJsonError
Fields of InvalidSignatureString
Fields of InvalidSignatureStringBase64Encoding
source: DecodeError
Fields of InvalidAuthorString
Fields of InvalidAuthorStringBase64Encoding
source: DecodeError
Trait Implementations
👎 Deprecated since 1.42.0:
use the Display impl or to_string()
👎 Deprecated since 1.33.0:
replaced by Error::source, which can support downcasting
The lower-level source of this error, if any. Read more
Auto Trait Implementations
impl !RefUnwindSafe for Error
impl !UnwindSafe for Error
Blanket Implementations
For maximum effectiveness, this needs to be called as a method to benefit from Rust’s automatic dereferencing of method receivers. Read more
Mutably borrows from an owned value. Read more
type Output = T
type Output = T
Should always be Self